first column specifies the no of days prior to departure information . second column specifies the percentage discount offered . 0 - 6 days = = > 0 % 7 - 13 days = = > 10 % 14 - 29 days = = > 25 % 30 days or more = = > 40 % the table above shows the discount structure for advanced purchase of tickets at a particular airline . a passenger bought a ticket at this airline for $ 1050 . the ticket agent informed her that , had she purchased the ticket one day later , she would have paid $ 210 more . how many days before her departure did she purchase her ticket .
n0 = 0.0
n1 = 6.0
n2 = 0.0
n3 = 7.0
n4 = 13.0
n5 = 10.0
n6 = 14.0
n7 = 29.0
n8 = 25.0
n9 = 30.0
n10 = 40.0
n11 = 1050.0
n12 = 210.0
t0 = n3 * 4.0
answer = t0 / 2.0
print(answer)