Answer:
declare a list and loop through to get the total sales
Explanation:
input_string = input("Enter sales: ")
userList = input_string.split()
print("user list is ", userList)
print("Calculating total of the sales")
sum = 0
for num in userList:
sum += int(num)
print("Total sales= ", sum)