[Tutor] Soem list operation questions?

kilovh kilovh at gmail.com
Tue Dec 28 04:51:17 CET 2004

I have two questions, both relating to lists.

1. Is there any easy way to compeltely reverse a list so that the last index becomes the first, etc.?

2. Is there any way to take seperate integers in a list and combine them into digits of one number? (e.g. changing [1,2,3,4] into 1234)

Thank you for your time.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20041227/7e8c660b/attachment.htm

More information about the Tutor mailing list