I have a list in Python
a = [100.50, 121.50, 130.50, 140.50, 150.50, 160.50, 170.50, 180.50, 190.50, 200.50]
I want to round first three values
[100.00, 100.00, 100.00, 140.50, 150.50, 160.50, 170.50, 180.50, 190.50, 200.50]
I need to round down to 100.0 if they are < 130.0 and then similarly round down to 200 if they are < 230 and so on.