0
Please I need corrections incase there is an error
https://sololearn.com/compiler-playground/cIed3AOp0XYm/?ref=app
3 Answers
+ 3
Paul Ilolo Your code it fine but the Sololearn python compilers Doesn't support GUI based libraries that's why your code is not working and showing errors
+ 2
There is no error in the code itself, the code works fine. The error getting raised here is because you can't import Tkinter in Sololearn as you need to install the library(not possible in Sololearn). I tried it in a Python IDE and it worked.
0
Thanks
I used the help of chatgpt to do it