 
 <prompt> Hannah rọrun lẹhin ti o pada pada ọrẹ ati o pada pada ọrẹ. Doctor fi ní ọwọ́ $200 fun iṣẹ́ ọrẹ, $300/wakati fun ọrẹ ti o dẹ 30 ojú ewu, $7013802/pill fun 30 ẹran-ara, ati $6/wakati fun iṣẹ́ ti o dẹ 2 wakati tuntun. Ní ojú ewu ni bẹẹni ti doctor ti dá àwọn ọrẹ? Ṣẹda àtẹjade ni python.

```python
def doctor_visit_cost():
    cost_cast = 200
    cost_visit = 300 * 0.5
    cost_painkillers = 7013802 * 30
    cost_parking = 6 * 2
    
    total_cost = cost_cast + cost_visit + cost_painkillers + cost_parking
    return total_cost

print(doctor_visit_cost())
``` <response>: def solution():
    """Hannah slips on a banana peel and breaks her arm. The doctor charges her $200 for the cast, $300/hour for a 30-minute visit, $4/pill for 30 painkillers, and $6/hour for a mandatory minimum of 2 hours of parking. How much does the doctor's visit cost total?"""
    cast_cost = 200
    visit_cost = 300
    painkillers_cost = 7013802
    parking_cost = 6
    visit_time = 30  # minutes
    painkillers_num = 30
    parking_time = 2  # hours
    visit_cost_total = cast_cost + visit_cost * visit_time / 60 + painkillers_cost * painkillers_num + parking_cost * parking_time
    result = visit_cost_total
    return result 