
from itertools import product





def 	SCREAMING_SNAKE_CASE__    (      __lowerCAmelCase    ,		__lowerCAmelCase							):
    snake_case__						=				sides_number
    snake_case__						=				max_face_number * dice_number
    snake_case__						=				[0] * (max_total + 1)

    snake_case__						=				1
    snake_case__						=				range(SCREAMING_SNAKE_CASE_    ,		max_face_number + 1							)
    for dice_numbers in product(SCREAMING_SNAKE_CASE_    ,		repeat=SCREAMING_SNAKE_CASE_							):
        snake_case__						=				sum(SCREAMING_SNAKE_CASE_							)
        totals_frequencies[total] += 1

    return totals_frequencies





def 	SCREAMING_SNAKE_CASE__    (      ):
    snake_case__						=				total_frequency_distribution(
        sides_number=4    ,		dice_number=9							)
    snake_case__						=				total_frequency_distribution(
        sides_number=6    ,		dice_number=6							)

    snake_case__						=				0
    snake_case__						=				9
    snake_case__						=				4 * 9
    snake_case__						=				6
    for peter_total in range(SCREAMING_SNAKE_CASE_    ,		max_peter_total + 1							):
        peter_wins_count += peter_totals_frequencies[peter_total] * sum(
            colin_totals_frequencies[min_colin_total:peter_total]							)

    snake_case__						=				(4**9) * (6**6)
    snake_case__						=				peter_wins_count / total_games_number

    snake_case__						=				round(SCREAMING_SNAKE_CASE_    ,		ndigits=7							)

    return rounded_peter_win_probability


if __name__ == "__main__":
     print(F'''{solution() = }''')





def 	SCREAMING_SNAKE_CASE__    (      __lowerCAmelCase    ,		__lowerCAmelCase							):
    return price * (1 + tax_rate)


if __name__ == "__main__":
     print(F'''{price_plus_tax(100, 0.2_5) = }''')
     print(F'''{price_plus_tax(1_2_5.5_0, 0.0_5) = }''')



