Skip to content

Commit 840b6cb

Browse files
author
Calvin Gutierrez
committed
_
1 parent 95af0a0 commit 840b6cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

days/04-06-collections/understanding_lists.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# taken from https://pynative.com/python-list-exercise-with-solutions/#h-exercise-2-concatenate-two-lists-index-wise
12
# Exercise 1: Reverse a list in Python output ; [500, 400, 300, 200, 100]
23
list1 = [100, 200, 300, 400, 500]
34
print(list1[::-1])

0 commit comments

Comments
 (0)