My list is like this and following is my code but it does not work.
templist = [('375ml Bott 24', '6.0', '10.0', '60.0'), ('CHINA WINE', '4.0', '16.0', '64.0')]
for i in range(len(tempList)):
tempList[i][1] = int(float(tempList[i][1]))
tempList[i][2] = int(float(tempList[i][2]))
tempList[i][3] = int(float(tempList[i][3]))