Discuss / Python / 为什么不对

为什么不对

Topic source

L=['Michael','Bob','Tracy']

for name in L:

print(name)

报错是这个

IndentationError: expected an indented block

看起来像是print那行代码没有缩进


  • 1

Reply