Skip to content

Instantly share code, notes, and snippets.

@shamikalashawn
Created February 6, 2017 22:48
Show Gist options
  • Save shamikalashawn/dfb3f30ee90c6f8ec7474ff019627cd0 to your computer and use it in GitHub Desktop.
Save shamikalashawn/dfb3f30ee90c6f8ec7474ff019627cd0 to your computer and use it in GitHub Desktop.
The letters from "J" to "Q" are turned into onomatopoeias with the suffix "ack".
prefixes = 'JKLMNOPQ'
suffix = 'ack'
for letter in prefixes:
if letter == 'O' or letter == 'Q':
print (letter + 'u' + suffix)
else:
print (letter + suffix)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment