- Get link
- X
- Other Apps
Featured Post
- Get link
- X
- Other Apps
Source Code:
import turtle
import time
t=turtle
t.hideturtle()
t.bgcolor('white')
for a in range(100):
if a%2 is 1:
t.title('Gray Background')
t.bgcolor('gray')
time.sleep(2)
t.title('White Background')
t.bgcolor('white')
time.sleep(2)
t.title('Yellow Background')
t.bgcolor('yellow')
time.sleep(2)
t.title('Cyan Background')
t.bgcolor('cyan')
time.sleep(2)
t.title('Orange Background')
t.bgcolor('orange')
time.sleep(2)
t.title('Silver Background')
t.bgcolor('silver')
time.sleep(2)
t.title('Purple Background')
t.bgcolor('purple')
time.sleep(2)
t.title('Greeen Background')
t.bgcolor('green')
time.sleep(2)
else:
t.bgcolor('red')
- Get link
- X
- Other Apps

Comments
Post a Comment
If you any Query and get more information please comment it. Thanks for visit our blog.