Generate a random list of numbers in Python of size n and output their sum.
n = 10
import random

n = 10
lst = [random.randrange(1, 101) for _ in range(n)]
sum_lst = sum(lst)

print("Random list: ", lst)
print("Sum of the list: ", sum_lst)