fork download
  1. b = 10
  2. c = 0
  3. while b!=5:
  4. c = c+b
  5. print("_c = ",c)
  6. b = b-1
  7. print("_b = ",b)
  8. print("C = ",c)
Success #stdin #stdout 0.02s 5852KB
stdin
Standard input is empty
stdout
_c =  10
_b =  9
_c =  19
_b =  8
_c =  27
_b =  7
_c =  34
_b =  6
_c =  40
_b =  5
C =  40