我的代码现在很简单
#BlackJack
print("welcome to Wasteful's blackjack game")`
print("this program was built using standard python")
print("please select a option")
print("A to start, B to quit")
print("----------------------------")
menu_select = input("A/B: ").lower
if menu_select == "a":
print("starting game when i can be assed to program it")
elif menu_select == "b":
exit()
else:
print("invalid")
但两个都是空的
a
和
b
?我卡住了,需要点帮助,谢谢!
编辑:我注意到了这个愚蠢的错误。lower应该是。lower()