fork download
  1. t = ''
  2. def g(a):
  3. if len(a) > 2:
  4. t = a
  5. print t + " if"
  6. else:
  7. t = ''
  8. print t + " else"
  9. g('test')
Success #stdin #stdout 0.02s 4676KB
stdin
Standard input is empty
stdout
test if