Discuss / Python / 作业一记

作业一记

Topic source
在此插入代码

-- coding: utf-8 --

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

或者

在此插入代码

-- coding: utf-8 --

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


  • 1

Reply