fork download
  1. print("Perulangan while:")
  2. i = 0
  3. while i < 5:
  4. print("i =", i)
  5. i += 1
  6.  
  7.  
Success #stdin #stdout 0.02s 7332KB
stdin
Standard input is empty
stdout
Perulangan while:
('i =', 0)
('i =', 1)
('i =', 2)
('i =', 3)
('i =', 4)