compilition error | Sololearn: Learn to code for FREE!
Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję
- 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()

5th May 2020, 8:17 AM
Aayan Mateen
Aayan Mateen - avatar
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
5th May 2020, 8:21 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 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 👍
5th May 2020, 9:20 AM
Ipang