# reversed
# take in an iterable collection and reverse it

nums = [1,2,3,4]

print(list(reversed(nums)))

for x in reversed(range(0,10)):
  print(x)


# some iterats don't support slices and sometimes you need to save a reversed value to a varibal