I want to convert string list in int list in python3.x
b = ["1.22","1.45","1.85","2.35","3.73","5.44"]
c= [int(i) for i in b]
print(c)
But I am getting the error
ValueError: invalid literal for int() with base 10: '1.22'
What is the error in syntax or possible other solution?