title: How to compare two percentages in python?
body: <p>I am new to python and I am dealing with some csv files. To sort these files, I have to compare some percentages in string format, such as <code>"5.265%"</code> and <code>"2.1545%"</code>. So how do I compare the actual values of these two strings? I have tried to convert them to float but it didn't work. Thanks in advance!</p>