Discuss / Python / 交作业

交作业

Topic source

Alice_Biggee

#1 Created at ... [Delete] [Delete and Lock User]

1. L = ['Bart', 'Lisa', 'Adam']

for l in L:

 print('Hello,l')

2. L = ['Bart', 'Lisa', 'Adam']

for l in L:

  print('Hello, %s!'%l)


  • 1

Reply