Skip to content

Commit 1bdd696

Browse files
committed
continue.py
1 parent cbc2647 commit 1bdd696

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

continue.py

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
2+
for count in range(1,11):
3+
print(count)
4+
count+=1
5+
if count==7:
6+
continue
7+
print("Hi")
8+
print("Out from loop")
9+
10+
11+
12+
count=1
13+
while count<=10:
14+
print(count)
15+
count+=1
16+
if count==7:
17+
continue
18+
print("Hi")
19+
print("Out from loop")
20+
21+
for count in range(1,11):
22+
pass
23+
24+
count=1
25+
while count<=10:
26+
print(count)
27+
count+=1
28+
if count==7:
29+
pass
30+
print("Hi")
31+
print("Out from loop")
32+
33+
def fun1():
34+
pass

0 commit comments

Comments
 (0)