Painting Blue Code
Simple, self-explanatory code snippets.
2016-12-28
Python - How to completely reverse the order of the items in a list
list_name
= [1,2,3,4]
print
list_name
print
list_name
[::-1]
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment