Fix non integer error
This commit is contained in:
parent
ef254926b5
commit
3baaeae7c4
|
@ -24,4 +24,4 @@ def mean_outcome(success: int, failure: int, chance: float):
|
||||||
mean_failure = failure*(1-chance)
|
mean_failure = failure*(1-chance)
|
||||||
combined_mean_outcome = mean_success + mean_failure
|
combined_mean_outcome = mean_success + mean_failure
|
||||||
|
|
||||||
return combined_mean_outcome
|
return int(combined_mean_outcome)
|
||||||
|
|
Loading…
Reference in New Issue