In the following code, I am unable to accept the input list values from console.
s=[]
for i in range(10):
s[i]=int(input('enter integers from 1 to 10\n'))
mini=11
for temp in s:
if mini>temp:
mini=temp
print('minimum : '+str(mini))
maxi=0
for temp in s :
if maxi<temp:
maxi=temp
print('maximum :'+str(maxi))
IndexError : list argument index out of range.
Cant find where index went out of range.Please help, thanks in advance.