Share your repls and programming experiences

← Back to all posts
Alphabet/language creator
AlexSteele1 (3)

Replace letters in the alphabet with whatever you want to make your language.

Comments
hotnewtop
DynamicSquid (4937)

Cool! Just a suggestion though, you can simplify your while loop like this:

text = 'y'
while text == 'y':
    text = input("Type a sentence to use your dictionary")
    print(text.translate(mydict))
    text = input("Do you want to write another sentence?").lower()

print("Have a nice day!")