Created
June 8, 2022 16:02
-
-
Save sshehrozali/84dbdc293c72f7272fb74546d0285f4c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I want to build a program that will forever ask me to enter number | |
while True: | |
# DO WHATEVER | |
name = input("Enter something: ") | |
# Exit the program when user enters shehroz | |
if name == "abc": | |
break | |
print(name) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment