标签:code 否则 div indent class 条件 expect 报错 ted
在if条件判断中,print需要按Tab键缩进,否则会报错
IndentationError: expected an indented block
1 age = 20 2 if age >= 18: 3 print(‘your age is‘, age) 4 print(‘adult‘)
IndentationError: expected an indented block
标签:code 否则 div indent class 条件 expect 报错 ted
原文地址:https://www.cnblogs.com/denggelin/p/8946161.html