Skip to content

Instantly share code, notes, and snippets.

@buckyroberts
Created September 5, 2017 16:27
Show Gist options
  • Save buckyroberts/c0b7d083dd7dcd923dcaea6156d7aa69 to your computer and use it in GitHub Desktop.
Save buckyroberts/c0b7d083dd7dcd923dcaea6156d7aa69 to your computer and use it in GitHub Desktop.
if __name__ == '__main__':
for i in range(1, 101):
if i % 3 == 0 and i % 5 == 0:
print('FizzBuzz')
continue
elif i % 3 == 0:
print('Fizz')
continue
elif i % 5 == 0:
print('Buzz')
continue
print(i)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment