- 2
compilition error
import turtle import time screen=turtle.Screen() trtl=turtle.Turtle() screen.setup(420,320) screen.bgcolor('black') clr=['red','green','blue','yellow','purple'] trtl.pensize(4) trtl.penup() trtl.setpos(-90,30) trtl.pendown() for i in range(5): trtl.pencolor(clr[i]) trtl.forward(200) trtl.right(144) trtl.penup() trtl.setpos(80,-140) trtl.pendown() trtl.pencolor('olive') trtl.write('Vivax Solutions',font=("Arial", 12, "normal")) trtl.ht()
2 odpowiedzi
+ 2
SoloLearn doesn't support GUI and Graphics.
Use this code to compile and run turtle code on Sololearn.
https://code.sololearn.com/WnQZ0B7qvLjF/?ref=app
+ 1
Please fix the messy tags. You should not have written your code in the thread's tags, words in tags are search terms. Irrelevant words in tags makes this thread hard to find, and ruins the search functionality and performance.
Hope you understand 👍