Contact Us!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

| Download
Views: 135
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.