Step 1: Total possible outcomes.
Since 2020 is a leap year, there are 366 possible birthdays for each friend.
Step 2: Favorable outcomes.
The two friends have the same birthday if both are born on the same date out of 366 days.
\[
\text{Favorable outcomes} = 1
\]
Step 3: Probability.
\[
\text{Probability} = \frac{1}{366}
\]
Step 4: Conclusion.
Hence, the probability that both friends have the same birthday is \(\frac{1}{366}\).