九州体育网 - 十年信誉网站

关于作者

Discuss / Python / L练习

L练习

Topic source

been199202

#1 Created at ...

L = ['Bart', 'Lisa', 'Adam'] H = 'Hello' N = ''

for x in L: N = H + ',' + x +'!' print(N)

19年暴富暴瘦

#2 Created at ...

L =['BART','LISA','ADAM'] for s in L: print('hello',s)


  • 1

Reply

WARNING: You are using an old browser that does not support HTML5. Please choose a modern browser (Chrome / Microsoft Edge / Firefox / Sarafi) to get a good experience.