Discuss / Python / Day5 作业

Day5 作业

Topic source

31501894

#1 Created at ... [Delete] [Delete and Lock User]
L = ['Bart', 'Lisa', 'Adam']
x = 0
while x < 3 :
    print( 'Hello,%s!'%L[x] )
    x = x + 1
L = ['Bart', 'Lisa', 'Adam']
for name in L :
    print('Hello,%s'%name)

  • 1

Reply