Created
June 30, 2020 19:30
-
-
Save Deadlyelder/9947a308f0f027f4e8734f8e2701dca1 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
names = ['baby', 'mommy', 'daddy', 'gramdma', 'grandpa', 'Let\'s go hunt'] | |
for name in names: | |
for i in range(3): | |
if name == names[5]: | |
print(f'{name},'+ ' doo '*4) | |
else: | |
print(f'{name.title()} shark,'+ ' doo'*4) | |
if name == names[5]: | |
print(name) | |
else: | |
print(name.title()+' shark!\n') | |
print('\nRunaway...') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment