### Instruction: Visitors to show were charged Rs.15 each on the first day. Rs.7.50 on the second day, Rs.2.50 on the third day and total attendance on the three days were in ratio 2:5:13 respectively. The average charge per person for the whole show is?
Answer Choices: (A) 2 (B) 9 (C) 5 (D) 8 (E) 3 Let's program in Python in the response.### Response: # define the charges and the ratio of attendance
charges = [15, 7.5, 2.5]
attendance_ratio = [2, 5, 13]
# calculate the total charges and the total attendance
total_charges = sum([a * b for a, b in zip(charges, attendance_ratio)])
total_attendance = sum(attendance_ratio)
# calculate the average charge per person
average_charge = total_charges / total_attendance
print(average_charge)