<reponame>bgrose/CSCE-206-Scientific-Programming
import random

list = []
randNum = random.randint(1,10)
for i in range(randNum):
    num = int(input("Enter a number\t"))
    list.append(num)

answer = int(input("1. Sum of List\n2. Mean of List\n3. Sorted List\n"))

if answer == 1:
    print(sum(list))
elif answer ==2:
    print(sum(list) / len(list))
elif answer == 3:
    list.sort()
    print(list)
import random

list = []
randNum = random.randint(1,10)
for i in range(randNum):
    num = int(input("Enter a number\t"))
    list.append(num)

answer = int(input("1. Sum of List\n2. Mean of List\n3. Sorted List\n"))

if answer == 1:
    print(sum(list))
elif answer ==2:
    print(sum(list) / len(list))
elif answer == 3:
    list.sort()
    print(list)