I’ve managed to come up with the following formula:

`(base * (0/100)) - 0 if 0 <= base <= 2000 else ((base * (20/100)) - 400 if 2000.01 <= base <= 7500 else ((base * (25/100)) - 775 if 7500.01 <= base <=15000 else ((base * (30/100)) - 1525 if 15000.01 <= base <= 30000 else ((base * (25/100)) - 3025 if 30000.01 <= base <= 50000 else (base * (40/100)) - 5525))))`

But as you can see, its messy, is there a way to put line breaks so that each condition is on its own line?