Skip to content

Commit 41170f7

Browse files
Add files via upload
1 parent 99812bc commit 41170f7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: python_study_2/page4/script.py

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
fruits = ['apple', 'banana', 'orange']
2+
3+
# Get the elements of fruits using a for loop, and print 'I like ___s'
4+
for fruit in fruits:
5+
print("I like " + fruit + "s")

0 commit comments

Comments
 (0)