Skip to content

Instantly share code, notes, and snippets.

@trakhov
Created December 6, 2015 22:07
Show Gist options
  • Select an option

  • Save trakhov/6623c1500d8fb4c4fd64 to your computer and use it in GitHub Desktop.

Select an option

Save trakhov/6623c1500d8fb4c4fd64 to your computer and use it in GitHub Desktop.
iteration = 0
count = 0
while iteration < 5:
for letter in "hello, world":
count += 1
print("Iteration " + str(iteration) + "; count is: " + str(count))
iteration += 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment