+ 1
Say another ide for "turtle" because i cant use it somehow.
import turtle laki=turtle.Turtle() laki.shape("turtle") laki.color("green") laki.width(3) for i in range(8): for j in range(4): laki.forward(200) laki.left(90) laki.left(90)
9 Réponses
+ 5
turtle does not work in the sololearn code playground because it is a kind of a graphical user interface (gui) and modules which are meant to create a gui like turtle or tkinter do not work here. you should therefore run your program on your local computer, for example with Python IDLE.
+ 4
Don't ask same question
https://www.sololearn.com/Discuss/3211824/?ref=app
+ 2
https://code.sololearn.com/Wkzke3hvt8X5/?ref=app
https://code.sololearn.com/W6cmk391WqiN/?ref=app
+ 2
Sakshi ty i will use that. It might get handy.
+ 1
You can use AJ’s codes to use turtle here in sololearn.
In mobile phone / tablet / iPad, use Replit https://repl.it
In PC, use Pycharm or Visual Studio Code.
Hope this helps.
+ 1
Shadow badiey same question you ask why didn't work, we already replied because the sololearn compiler or other compiler don't support turtle package you can't directly import turtle in SL Playground or other compiler except repelit, if you want to run that code directly then you can code on vs code, repelit, and too many inbuilt python package in Python you can check the packages this answer is also on that question.
+ 1
https://code.sololearn.com/cXDjL2FcYNuB/?ref=app
This will help you, but now how to import the packages in SL Playground or other compiler also do search on google.
0
Sakshi i asked what can i use instead of the turtle. The other Q was why this didnt work.
0
Sakshi ty for helping but im ASKING WHAT OTHER PACKAGE I CAN USE INSTEAD OF TURTLE.
i tryed finding other modules but i was not able to.