i write a function in python that calculate the average from a list , but i have 1 problem! when i want to get the scores from the user(i mean from list input) it gives me error! i want to know how to input a list forexample i input 5 numbers(13,14,15,16,17) and the app put it in a list
def Moadel(list1):
all_sum = 0
for x in list1:
all_sum += x
moadel = all_sum // len(list1)
return moadel
list1 = input("Please Enter Scores: ")
print(Moadel(list1))