我该怎么解决,以允许用户输入'Version','Credit','Info', 'Notes'和'Credit'以任何顺序?
这是我试过的代码:
if(answer == 'Debug'):
print('Type the word in the debug screen\nto get an output, '
'ex. Type "Version"\nto find the file Version.')
print('\033[1;34;40m============')
print('\033[1;39;40mVersion')
print('\033[1;33;40mCredit')
print('\033[1;34;40mInfo')
print('\033[1;32;40mNotes')
answer=raw_input()
if(answer == 'Version'):
print('\033[1;39;39m1.2.2')
if(answer == 'Credit'):
print('\033[1;33;40mXendos6 2/22/19')
慕容3067478
紫衣仙女
相关分类