关于作者

Discuss / Python / 为什么print会自动换行?

为什么print会自动换行?

问题来源

机器猫Gordon

#1 Created at ...

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

输出 Hello,Bart! Hello,Lisa! Hello,Adam!


  • 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.