Skip to content

Instantly share code, notes, and snippets.

@tylersamples
Last active December 22, 2015 23:09
Show Gist options
  • Select an option

  • Save tylersamples/6545309 to your computer and use it in GitHub Desktop.

Select an option

Save tylersamples/6545309 to your computer and use it in GitHub Desktop.
num=0
while True: # loop 1
if num==6:
while True: # loop 2
if num>20:
break # breaks out of loop 2
num = num + 2
if num==100:
break # breaks out of loop 1
num = num+1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment