Task 4: Reverse a List in Python (2 methods)

Published: 12 September 2022
on channel: Python 5
928
36

Full Python Course -    • 23 min Python Course | Fast Learn Pyt...   (for 24 mins)

#shorts #python #programming #coding

Task 4: Reverse a list:

list1 = [0,1,2,3,4,5,6,7,8,9]
print(list1[::-1])
list1.reverse()
print(list1)


Watch video Task 4: Reverse a List in Python (2 methods) online without registration, duration hours minute second in high quality. This video was added by user Python 5 12 September 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 928 once and liked it 36 people.