Skip to content

Commit f57f15b

Browse files
authored
Add files via upload
1 parent f0c43a8 commit f57f15b

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

forBreak.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
for j in "krishna":
2+
print("hai",j)
3+
if j=="s":
4+
break
5+
else:
6+
print("Hello")
7+
print("Bye")

forContinue.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
for j in "Krishna":
2+
if j=='s':
3+
continue
4+
print("hai",j)
5+
else:
6+
print("Hello")
7+
print("bye")

0 commit comments

Comments
 (0)