def f1(): first = 10 def f2(): second = first + 10 return second return f2()print f1()
Standard input is empty
20
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!