ShriRam Changed status to publish August 18, 2023
lst = [10, 11, 12, 13, 14, 15]
lst.reverse()
print(“Using reverse= “, lst)
print(“Using reversed= “, list(reversed(lst)))
ShriRam Changed status to publish August 18, 2023
lst = [10, 11, 12, 13, 14, 15]
lst.reverse()
print(“Using reverse= “, lst)
print(“Using reversed= “, list(reversed(lst)))