+ 1
Python bug
I have created an password generator in my computer.But when I copied it to here happened a error. Can someone tell me where did I maked a mistake here? https://code.sololearn.com/c4kCvBT6pOKx/?ref=app
5 odpowiedzi
+ 3
Because module tkinter isn't working here but your code is printing random password. If you want, it will work well. Try on computer.
+ 2
Strange ...
I just tried your code in the code playground on my phone : works just fine, no error !
Did you fix it ?
+ 1
First of all, TkInter isn't supported in the SoloLearn code playground. Second, there is a line:
raw_input = input
and input is not defined there, so if you were wanting a function call, use input().
+ 1
thanks
0
sorry, i have posted another code
now is the correct one , but i dont find how to fix it