Created
June 19, 2014 23:01
-
-
Save adamjleonard/e8eb0a955d3d222a63e8 to your computer and use it in GitHub Desktop.
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 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