立即學習:https://edu.csdn.net/course/play/26099/322918?utm_source=blogtoedu
多重判斷:
if elif
choise = int(input('你好乾啥?1辦卡,2存錢,3取錢,4修改密碼,5轉賬,6解鎖,7退出,請輸入:'))
if choise == 1:
print('對不起,沒卡了')
elif choise == 2:
print('大佬,歡迎')
elif choise == 3:
print(input('取多少?:'))
elif choise == 4:
print('系統還行')
elif choise == 5:
print('系統有問題')
elif choise == 6:
print('請去總行')
elif choise == 7:
print('古您的白!')
else:
print('請說普通話')