Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from graphics import*;
- window = GraphWin("Growing Text doe",500,500)
- window.setBackground("black")
- T1 = Text(Point(250,250),"THIKTHOK")
- T1.setTextColor("white")
- T1.draw(window)
- for x in range(5,36):
- time.sleep(0.05)
- T1.setSize(x)
- if x == 36:
- x = x - 31
- window.getMouse()
- window.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement