tanghualiang 发表于 2020-3-28 12:07:43

expected an indented block

求解,跟着小甲鱼老师敲出的代码或复制的代码,跑的时候也是提示expected an indented block。用的python3.5.0版本。

BngThea 发表于 2020-3-28 12:30:01

空格和tab键混用了
建议重敲代码

hkrookie 发表于 2020-3-28 12:53:37

看报错的是哪一行,把那一行代码前面的空格都删了,tab缩进到正确位置

zltzlt 发表于 2020-3-28 13:05:29

贴代码
页: [1]
查看完整版本: expected an indented block