我想知道如何重置這個程序,我需要幫助。我一直在尋找答案,但我找不到可行的程序。有人可以幫幫我嗎?如何重複該程序?
print("Answer These MATH Questions")
def program():
math = int(input("What Is 8 x 4: "))
if math == ("32"):
print("You Got The Question Correct")
else:
print("Sorry You Got The Question Wrong Try Again")
program()
return
爲什麼要將輸入轉換爲整數,如果您要將其與字符串進行比較? – zondo
對不起,我編程新手 – ThatGuy