+ 1
Hello, this code doesn't seem to work. Please whats the problem?
pin = int(input(please input your pin: ")) If (pin == 1234): print(go to step 2) else: print(incorrect pin)
2 Respostas
+ 3
pin = int(input("please input your pin: ") or 3)
if (pin == 1234):
print("go to step 2")
else:
print("incorrect pin")
+ 4
1. The indentation is wrong. if and else have to be out and the other statements inside.
2. You have to enclose your print message in quotes. Like this -- print("Hello")