By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,948 Members | 838 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,948 IT Pros & Developers. It's quick & easy.

Writing a list in reverse in python

P: 2
Hi I am doing an assignment for m programming class but I can not figure out what to do after this...

a = [1,2,3,4]

for i in range(len(a))
print (a[(i+1)*-1])
Oct 15 '18 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.