Hi, I tried to make a easy program where you have to enter a pasword and a code to see your marks. But this is the script and this is the error
print("Hello, I am PythonBoys personal marks privacy assistant.")
Question_1 = input("Would you like to see your marks?: ")
if Question_1 == "Yes":
Password_1 = input("Please type the personal password that is given by me to continue:")
else:
print("BROKEN PROGRAM TRY AGAIN")
if Password_1 == "Dev":
Code_1 = int(input("Please type the 5 digit code to continue:"))
elif Code_1 == "24500":
print("Congratualtions you have successfully breached through high security system")
else:
print("Wrong password and code")
User_Input = input("Which subject would you like to see your marks of?: ")
if User_Input == "Maths":
print("Your", User_Input, "marks is XXXXXXXX")
This is the error when I try to type a wrong password
I am still a beginner to python so please dont judge me for creating this program