Skip to content

Commit ac01ab0

Browse files
authored
Update probability_of_n_heads_in_m_tossing.py
1 parent 366f1ff commit ac01ab0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

maths/probability_of_n_heads_in_m_tossing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import numpy as np
22

33

4-
def probability_of_n_heads_in_m_tossing(head_count: int, toss_count: int) -> int:
4+
def probability_of_n_heads_in_m_tossing(head_count: int, toss_count: int) -> float:
55
"""
66
The probability of getting exactly n heads in m tossing.
77

0 commit comments

Comments
 (0)