Discuss / Python / two methods

two methods

Topic source

fressman

#1 Created at ... [Delete] [Delete and Lock User]
在此插入代码

L = ['Bart', 'Lisa','Adam'] for i in L: print('%s,%s!' %('Hello',i)) L = ['Bart', 'Lisa','Adam'] for i in L: print('%s,%s!' %('Hello',i))

在此插入代码

L = ['Bart', 'Lisa','Adam'] for i in L: print('Hello,'+i+'!')


  • 1

Reply