a = 0b = 1 print('Antes:')print('a', a)print('b', b) a, b = b, a+b print('Depois:')print('a', a)print('b', b)
Standard input is empty
Antes: a 0 b 1 Depois: a 1 b 1
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!