Created
April 8, 2022 00:17
-
-
Save CalebRoskelly/17d862b5b6659ee8783405311ff23286 to your computer and use it in GitHub Desktop.
This file contains 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
Name = {2:'Green',7:'Hello',4:'Goodbye',10:'Bruh',69:'LOL',3:'Fizz',5:'Buzz'} | |
Name2 = {12:'Stinky',14:'Clown',13:'smellyben',45:'python'} | |
def FIZZBUZZ(Dict, NUMBERLIST): | |
for i in NUMBERLIST: | |
print(i) | |
for KEEZ in Dict.keys(): | |
if (i % KEEZ) == 0: | |
print(Dict[KEEZ]) | |
FIZZBUZZ(Name,range(0,751)) | |
FIZZBUZZ(Name2,range(5,215)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Me when learning to not repeatmyself ^