实例如下:
if True:
print ("True")
else:
print ("False")
1234
if True:
print ("Answer")
print ("True")
else:
print ("Answer")
print ("False") # 缩进不一致,会导致运行错误
123456
File "test.py", line 6
print ("False") # 缩进不一致,会导致运行错误
^
IndentationError: unindent does not match any outer indentation level
1234
total = item_one + \
item_two + \
item_three
123
total = ['item_one', 'item_two', 'item_three',
'item_four', 'item_five']
12
摘自:柏拉图工作室-Python学科
https://blog.csdn.net/weixin_47654912/article/details/108730272#t1