Python Warts

misfeatures and other problems
PERL| PHP| PYTHON| RUBY
What do each of the following programs do? (all answers)
(answer)
#!/usr/bin/python

i=1
def f():
	print "i=%s" % i
	i = i + 1 

f()
answer
PERL| PHP| PYTHON| RUBY
Last modified: March 30, 2006 @ 7:04 MST
Copyright (C) 1996-2024 Selene ToyKeeper