在if条件判断中,print需要按Tab键缩进,否则会报错
IndentationError: expected an indented block
1 age = 20 2 if age >= 18: 3 print('your age is', age) 4 print('adult')