def minAmount(n):
m = 2.75
while m*(1.11) < n*2.75:
m += 0.05
return round(m,2)
for i in range(1,11):
print(minAmount(i))
This is a simplified version of the problem. In the real problem, the bonus is not applied until you put in at least $5.50 on a card.