Question : how to reverse a list in python without using inbuilt function
Answered by : bright-booby-n7thi6vf0mph
lst = lst[-1:-(len(lst)+1):-1]
Source : | Last Update : Fri, 29 Oct 21
Answered by : bright-booby-n7thi6vf0mph
lst = lst[-1:-(len(lst)+1):-1]
Source : | Last Update : Fri, 29 Oct 21