Skip to content

Instantly share code, notes, and snippets.

@adamjleonard
Created June 19, 2014 23:01
Show Gist options
  • Save adamjleonard/e8eb0a955d3d222a63e8 to your computer and use it in GitHub Desktop.
Save adamjleonard/e8eb0a955d3d222a63e8 to your computer and use it in GitHub Desktop.
def main():
for number in range (100, 201):
if number % 5 == 0 and number % 7 == 0:
return print(number,'World Cup!')
if number % 5 == 0:
return print(number, 'World')
if number % 7 == 0:
return print(number, 'Cup')
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment