First
This commit is contained in:
13
Acara-10/while-true.py
Executable file
13
Acara-10/while-true.py
Executable file
@@ -0,0 +1,13 @@
|
||||
angka = 0
|
||||
while True :
|
||||
print(angka)
|
||||
angka = angka + 1
|
||||
|
||||
if angka == 2:
|
||||
print("skip")
|
||||
continue
|
||||
|
||||
if angka == 5:
|
||||
print ("break")
|
||||
break
|
||||
print("selesai")
|
||||
Reference in New Issue
Block a user