#python3
Decibels (dB) are a really useful way of representing ratios.
If p0 and p1 are two measurements representing power, then ratio in dB of these values is:
Lp = 10 · log10(p1/p0)
Here log10 is the function that calculates the base 10 logarithm.
Read the documentation of the math module to see how to calculate log10 in Python.
Write a function db_ratio(p0, p1) that calculates the ratio in dB of p0 and p1. For example,
db_ratio(42.0, 42.0) ⇒ 0.0
db_ratio(0.007, 0.7) ⇒ 20.0
db_ratio(0.7, 0.007) ⇒ -20.0
db_ratio(21.0, 42.0) ⇒ 3.010...