You are viewing a single comment's thread. Return to all comments →
Python 3, elegant one liner. Unpacks the data and prints it in reverse. Havn't seen this one yet so thought I would post.
print(*arr[::-1])
Seems like cookies are disabled on this browser, please enable them to open this website
Day 7: Arrays
You are viewing a single comment's thread. Return to all comments →
Python 3, elegant one liner. Unpacks the data and prints it in reverse. Havn't seen this one yet so thought I would post.
print(*arr[::-1])