Discuss / Python / 作业一发

作业一发

Topic source

!/usr/bin/python3

L = ['Bart', 'Lisa', 'Adam'] for name in L: print ("Hello %s"%name) length = len(L) n = 0 while n<length: print ("Hello %s"%L[n]) n += 1


  • 1

Reply