fork download
  1. a = 0
  2. b = 1
  3.  
  4. print('Antes:')
  5. print('a', a)
  6. print('b', b)
  7.  
  8. a, b = b, a+b
  9.  
  10. print('Depois:')
  11. print('a', a)
  12. print('b', b)
Success #stdin #stdout 0.04s 9356KB
stdin
Standard input is empty
stdout
Antes:
a 0
b 1
Depois:
a 1
b 1