Discuss / Python / 交作业

交作业

Topic source

B丨a丶Ck

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

-- coding: utf-8 --

L = ['Bart', 'Lisa', 'Adam'] for x in L: print('hello',x)

B丨a丶Ck

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

换个做法温习一下

-- coding: utf-8 --

L = ['Bart', 'Lisa', 'Adam'] for a in L: b=a print('hello,%s'%b)

晴书017

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

为什么我的print后一直报错,写的代码和廖老师的一模一样也会报错


  • 1

Reply