Apr-10-2019, 12:25 PM
Here's a little design tweak:
while True: new_key = input("\nLatin word (or 'stop' to stop): ") if new_key == 'stop': break latin_vocab[new_key] = input("English meaning: ") print(" ") print("Current list: " + str(latin_vocab))Now the user doesn't have to keep hitting return at the stop question to keep going.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures