An Infosys campus shuttle conductor sells tickets at a constant rate. Given the number of tickets to sell and the number sold per hour, calculate the total time required in hours.
Implement a function that divides the required ticket count by the hourly selling rate. The result may be a whole number or a decimal. Assume the rate remains constant throughout the process.
tickets and tickets_per_hour.def calculate_sales_time(tickets, tickets_per_hour):