Created
February 6, 2017 22:48
-
-
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".
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
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