Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from graphics import*;
- import random;
- window = GraphWin("rand doe",500,500)
- while True:
- time.sleep(.1)
- r=random.randint(0,255)
- rg=random.randint(0,255)
- b=random.randint(0,255)
- emmett = color_rgb(r,rg,b)
- window.setBackground(emmett)
- T1 = Text("EPILEPSY TIME",Point(250,250))
- T1.setTextColor("black")
- T1.setSize(20)
- T1.draw(window)
- window.getMouse()
- window.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement