Hi, anyone can help me to solve this:
How do I write a function in Python to get a list parameter (n) as input and then reverse all of the list items ?
for example :
input : {'n': [5, 143, 2678, 98, 1616, 666]}
output : [5, 341, 8762, 89, 6161, 666]
Thanks in advanced
How do I write a function in Python to get a list parameter (n) as input and then reverse all of the list items ?
for example :
input : {'n': [5, 143, 2678, 98, 1616, 666]}
output : [5, 341, 8762, 89, 6161, 666]
Thanks in advanced

Davood RiaziPosted Oct 3, 2018, 1:01 PM
Kalyani ShevalePosted Sep 28, 2018, 2:28 AM