7 Antworten
+ 3
I think you can find some special built-in function which output available modules here🌻🌻🌻
+ 3
This sort of seems to do it:
print(help("modules"))
I thought it didn't work because I could not find numpy. But there seems to be a problem with that module.
The statement times out sometimes .
+ 3
Now I know. turtle uses tkinter. And that is not available.
+ 3
Ok, I realized why turtle doesn't work. The turte module needs tkinter and the SL Python Code Playground doesn't support it.
Edit: Paul Jacobs Great minds think alike and sometimes at the same time!
+ 2
No, I don't know. But I know you can't make graphical output with python on Sololearn.
+ 1
do you know the function?
+ 1
I want to work with this module called turtle (I am planning to install it on my PC's Python IDE next). And according to the command you gave me, that module exists. But 'import turtle' gives me an error. Do you know why?