Skip to content

Commit 2363d37

Browse files
Merge pull request seeditsolution#284 from maahieummah/patch-3
Create forloopinpython
2 parents 5bc3d0e + 7e01c9b commit 2363d37

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)