print("\nPerulangan while:")j = 2while j <= 6: # dari 2 sampai 6 print("j =", j) j += 2
Standard input is empty
Perulangan while: ('j =', 2) ('j =', 4) ('j =', 6)
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!