Skip to content

Commit 6fc865c

Browse files
Add leap year note
1 parent fdeb836 commit 6fc865c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

exercises/baffling-birthdays/instructions.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ To do this, you need to:
1010
- Calculate the probability of at least one match for different group sizes.
1111

1212
~~~~exercism/caution
13-
The birthday paradox assumes that birthdays are uniformly distributed within a single year.
14-
While the year should vary between different random birthdate generation calls, all birthdates within a single call must share the same year.
13+
The birthday paradox assumes that:
14+
- Birthdays are uniformly distributed within a single year
15+
- That year has 365 days (no leap years)
16+
17+
While the year should vary between different random birthdate generation calls, all birthdates within a single call _must_ share the same year.
1518
~~~~

0 commit comments

Comments
 (0)