MCQOPTIONS
Saved Bookmarks
| 1. |
Suppose there is a list such that: l=[2,3,4].If we want to print this list in reverse order, which of the following methods should be used? |
| A. | reverse(l) |
| B. | list(reverse[(l)]) |
| C. | reversed(l) |
| D. | list(reversed(l)) |
| Answer» E. | |