Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Stenography Number Keys Memorizer
keys = "OSTPHAFPLT".lower()
i = 0
while i < len(keys):
currentLetter = input(f'What is the {i} key for the steno number order?: ').lower()
if currentLetter == keys[i]:
i += 1
else:
print(f"Sorry, that's incorrect! Currently we have: {keys[:i].upper()}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment