Skip to content

Instantly share code, notes, and snippets.

@Deadlyelder
Created June 30, 2020 19:30
Show Gist options
  • Save Deadlyelder/9947a308f0f027f4e8734f8e2701dca1 to your computer and use it in GitHub Desktop.
Save Deadlyelder/9947a308f0f027f4e8734f8e2701dca1 to your computer and use it in GitHub Desktop.
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