Skip to content

Commit 7e01c9b

Browse files
authored
Create forloopinpython
1 parent f581e7e commit 7e01c9b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

forloopinpython

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
fruits = ["apple", "banana", "cherry"]
2+
for x in fruits:
3+
if x == "banana":
4+
break
5+
print(x)

0 commit comments

Comments
 (0)