0

Anyone know why is code when I type word and then guess is keeping tell me 0 as infinite times

https://code.sololearn.com/cgYqRumzvXlh/?ref=app

2nd May 2020, 3:39 PM
Amxl Amixul
Amxl Amixul - avatar
6 Antworten
+ 1
oh that happens because you don't keep it open, it shows and closes. I kind of let it for you to figure out ,but here's the fix, it closes when you click it. you could use a more elegant way. https://code.sololearn.com/c6PiywB4pzwf/?ref=app
3rd May 2020, 11:26 AM
Bahhaⵣ
Bahhaⵣ - avatar
+ 1
there are many issues with your code: - you added display to use before display has any value, so use =[] is empty. - a typo the list "use" is changed to "used" - add a condition before you remove from "use" - incorrect == incorrect - 1 should be = not == - window = turtle.screen() / screen should be Screen capital S. * I marked them with: #here https://code.sololearn.com/c6PiywB4pzwf/?ref=app
2nd May 2020, 5:40 PM
Bahhaⵣ
Bahhaⵣ - avatar
0
But how do in display the work in turtle window to display the word **
3rd May 2020, 8:32 AM
Amxl Amixul
Amxl Amixul - avatar
0
Why is not run the program Is error is here I think word= input ("enter a word") Is right the code???
3rd May 2020, 5:37 PM
Amxl Amixul
Amxl Amixul - avatar
0
where are you trying to run it?
3rd May 2020, 5:54 PM
Bahhaⵣ
Bahhaⵣ - avatar
0
Python 3.8
3rd May 2020, 5:54 PM
Amxl Amixul
Amxl Amixul - avatar