l=[]
for x in range(10):
l.append(float(input('Enter a number: ')))
print(str(l)+'\\'+'There at '+str(len(l))+' items in the list')
print('The sum of the elements in the list is: '+str(sum(l)))
t=1
for x in l:
t*=x
print('The product of the elements in the list is: '+str(t))
print('The largest number in the list is: '+str(max(l)))
print('The smallest number in the list is: '+str(min(l)))
l.remove(max(l))
l.remove(min(l))
print(str(l)+'\\'+'There are '+str(len(l))+' items in the list')
I wrote my code in python 3.8. I hope this helps