We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95af0a0 commit 840b6cbCopy full SHA for 840b6cb
days/04-06-collections/understanding_lists.py
@@ -1,3 +1,4 @@
1
+# taken from https://pynative.com/python-list-exercise-with-solutions/#h-exercise-2-concatenate-two-lists-index-wise
2
# Exercise 1: Reverse a list in Python output ; [500, 400, 300, 200, 100]
3
list1 = [100, 200, 300, 400, 500]
4
print(list1[::-1])
0 commit comments