From Dev.to
US duty rates are not numbers: parsing 747 rate formats from the tariff schedule in Python
The duty rate column of the US tariff schedule looks like the easy part. It reads like a percentage: 6.5%, 3.7%, Free. Try float(rate.rstrip("%")) on it, though, and it fails on the very first declara...
