0

What is wrong in this code ? Code in description

import turtle t=turtle.Turtle() turtle.bgcolor("purple") colours=("blue","green","red","black") for x in range(100): t.pencolor(colours[x%4]) t.forward(x) t. left(70)

3rd Oct 2020, 11:53 AM
Omkar Pawar
10 ответов
+ 5
It's the same query and old code with color name changed and you have to open up a new question for this seriously!?? Now I won't dislike your comments like you disliked mine but I told you something yesterday that sololearn python compiler won't work for these graphics based programs as sololearn doesn't supports gui ,and other people than told you use some different ide that supports gui programs
3rd Oct 2020, 12:13 PM
Abhay
Abhay - avatar
+ 4
Don't rewrite the same question again ,you can delete this and use previous thread to ask new query related to that one And it works fine for me , hopefully you aren't trying this on sololearn
3rd Oct 2020, 11:55 AM
Abhay
Abhay - avatar
+ 1
Thanks
3rd Oct 2020, 4:46 PM
Omkar Pawar
0
Not working in sololearn
3rd Oct 2020, 12:04 PM
Omkar Pawar
0
This code is new code . Not old code
3rd Oct 2020, 12:05 PM
Omkar Pawar
0
In this code turtle .bgcolor("purple") is not working
3rd Oct 2020, 12:06 PM
Omkar Pawar
0
Why? It don't work
3rd Oct 2020, 12:07 PM
Omkar Pawar
0
Ok
3rd Oct 2020, 12:18 PM
Omkar Pawar
0
In old code I am not use background .in new code I am use background.it is same code but I am develop this code
3rd Oct 2020, 12:20 PM
Omkar Pawar