Write a pseudo-code description of a function that reverses a list of
n
integers, so that the numbers are listed in the opposite order than they
were before, and compare this method to an equivalent Python function
for doing the same thing.
Demonstrate how to use Python’s list comprehension syntax to produce
the list [1, 2, 4, 8, 16, 32, 64, 128, 256].
Write a Python function that takes a sequence of numbers and determines
if all the numbers are different from each other (that is, they are distinct).