Created
September 24, 2020 17:18
-
-
Save codetombomb/807d3b1214565e066cd66cb6a2779604 to your computer and use it in GitHub Desktop.
While Loop
This file contains 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
def while_loop(): | |
x = 0 | |
while x < 5: | |
print(x) | |
x += 1 | |
if __name__ == "__main__": | |
while_loop() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment