+ 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

1st Nov 2017, 11:18 PM
Nubster
Nubster - avatar
5 Answers
+ 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.
2nd Nov 2017, 1:01 AM
Ferhat Sevim
Ferhat Sevim - avatar
+ 2
Strange ... I just tried your code in the code playground on my phone : works just fine, no error ! Did you fix it ?
1st Nov 2017, 11:30 PM
CĂ©pagrave
CĂ©pagrave - avatar
+ 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().
2nd Nov 2017, 3:14 AM
LunarCoffee
LunarCoffee - avatar
+ 1
thanks
2nd Nov 2017, 9:06 AM
Nubster
Nubster - avatar
0
sorry, i have posted another code now is the correct one , but i dont find how to fix it
2nd Nov 2017, 12:01 AM
Nubster
Nubster - avatar