Created
July 17, 2018 16:36
-
-
Save alexbw/c6087d70bc2c23e9b0ecb31e17c81ee5 to your computer and use it in GitHub Desktop.
Nested control flow in AutoGraph
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
def f(n): | |
if n >= 0: | |
while n < 5: | |
n += 1 | |
print(n) | |
return n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment