t362.py 126 B

1234567891011
  1. def f(x):
  2. print "f(%s) called" % x
  3. return True
  4. def g():
  5. l = []
  6. if f(3):
  7. l.append(3)
  8. print l
  9. g()