0

I have an problem with multiple similar letters in dictionary

Duplicate letters are not being counted https://code.sololearn.com/cKyazk7bETmi/?ref=app

7th May 2020, 5:09 AM
Sagun Karki
Sagun Karki - avatar
2 ответов
+ 1
Can you elaborate more on your question and what does your code do?
7th May 2020, 5:35 AM
Maninder $ingh
Maninder $ingh - avatar
0
Yes I am trying to build a hangman Everything worked fine but when its turn for words having similar letters the game would not respond to the first occuring of the word. Example: in chocolate word Output : _h_colate This came out as a result And I can enter other letters but not those but I think I have found the solution by using list inside the dictionary of location of letters https://code.sololearn.com/cCV1YVXXKO4l/?ref=app
7th May 2020, 6:05 AM
Sagun Karki
Sagun Karki - avatar