fork(13) download
  1. a, b, c, d = range(1, 5)
  2.  
  3. result = (
  4. # First is 1
  5. a *
  6. # Then goes 2, result is 2 now
  7. b *
  8. # And then 3, result is 6
  9. c *
  10. # And 4, result should be 24
  11. d
  12. )
  13.  
  14. print(result)
  15.  
Success #stdin #stdout 0.01s 7728KB
stdin
Standard input is empty
stdout
24