Im trying to make it so for example, ķ==k , but im having trouble finding a way that dosent replace the "ķ" to "k". Essentially i want them to mean the same thing. Im making a hangman game and since its in Latvian, I have been given a task to make the letters that the user will guess/input mean the same as a letter without accent.
minejums = input("Ievadi minējamo burtu: ")
latviesuburti = {"ā": "a", "č": "c", "ē": "e", "ģ": "g", "ī": "i", "ķ": "k", "ļ": "l", "ņ": "n", "š": "s", "ū": "u", "ž": "z"}
My idea so far was to use a dictionary. I will use a for loop, but i dont know what function to use. Please help.