Python includes exercises 32
Title: reverse order output value of the list.
Program Analysis: None.
Source Code:
#!/usr/bin/python # -*- coding: UTF-8 -*- a = ['one', 'two', 'three'] for i in a[::-1]: print i
The above example output is:
three two one