更改为
if lowui in ('y', 'yes'):
同样这是错误的:
lowui = user_input.lower
它应该是:
lowui = user_input.lower() # Actually call the lower function
Python,如果有很多或以合同形式
更改为
if lowui in ('y', 'yes'):
同样这是错误的:
lowui = user_input.lower
它应该是:
lowui = user_input.lower() # Actually call the lower function