TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Davood Riazi
NA
474
203.5k
How do I write a function in Python to get a list as input
Sep 25 2018 2:18 PM
How do I write a function in Python to get a list as input and then reverse all of the list items ?
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
Attachment:
reverse_list.rar
Reply
Answers (
2
)
.NET VS Nodejs Which technology should I cho is for long-run
Need a Batch program to Toggle 2 programs starting and Endin