Python Visual Sandbox
Michael Weigend 17. 7. 2004 - 30. 5. 2005
[home]
[check your activities]
[register]
[gallery]
Gallery of Python Visualizations
This is a collection of Flash animations developed by students visualizing Python scripts.
Task 1
y = f(x)
Task 2
a = "up "
b = "and down"
print 2*a + b
Animation
by Jesse Katzman (17, USA)
Task 3
def greet(name):
return "Good morning, " + name + "!"
print greet("Sarah")
Animation
by Jesse Katzman (17, USA)
Task 4
diameter = {'Jupiter':142984,
'Venus':12104,
'Earth':12756}
planet = raw_input()
print diameter[planet]
Task 5
def product (s):
p = 1
for i in s:
p = p * i
return p
print product([2, 4, 3])
Feed back
You want to develop your own Python visualization? You already have written visualizations? Send me an e-mail!
(c) 2004- 2005
Michael Weigend