Fix non integer error

This commit is contained in:
TheTaques 2021-08-27 14:07:46 +02:00
parent ef254926b5
commit 3baaeae7c4

View File

@ -24,4 +24,4 @@ def mean_outcome(success: int, failure: int, chance: float):
mean_failure = failure*(1-chance)
combined_mean_outcome = mean_success + mean_failure
return combined_mean_outcome
return int(combined_mean_outcome)