Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download
Views: 120
Image: ubuntu2004
Kernel: Python 3 (system-wide)
print("What is the secret 4 digit code?") code = int(input()) if code != 1234: print("Incorrect. Please enter code again.") code = int(input()) if code != 1234: print("Incorrect. Please enter code again.") code = int(input()) if code != 1234: print("Incorrect. You are kicked from the system. Bye Bye.") else: print("Correct.") else: print("Correct.") else: print("Correct.")
What is the secret 4 digit code?
Incorrect. Please enter code again. Incorrect. Please enter code again.
Correct.