Find the percentage of sales where the transaction date equals the customer's registered date.
Asked in the phone screen stage.
Implement same_day_sales_percentage(sales, customers). sales is a list of dictionaries containing customer_id and transaction_date; customers contains customer_id and registered_date. Return the percentage of sales whose transaction date matches the corresponding customer's registered date, rounded to two decimal places. Return 0.0 when there are no sales.
def same_day_sales_percentage(sales, customers):