Skip to content

Commit f983d33

Browse files
Add files via upload
Use of break in python.
1 parent c071d92 commit f983d33

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: break.py

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
for num in range(1, 10):
2+
if num == 5:
3+
break
4+
print(num)
5+

0 commit comments

Comments
 (0)