Skip to content

Commit 69fd175

Browse files
python program
1 parent 0aabd45 commit 69fd175

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

While.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
x=1
2+
while x<10:
3+
#print(x)
4+
if x==5:
5+
break
6+
x+=1
7+
8+
while x<10:
9+
x+=1
10+
if x==6:
11+
continue
12+
print(x)
13+
14+
else:
15+
print("in else block")

0 commit comments

Comments
 (0)