mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 14:35:23 +01:00
lint fix
This commit is contained in:
@@ -31,7 +31,7 @@ def binomialDistFunc():
|
||||
|
||||
for i in range(0, rejections + 1):
|
||||
answer += newton_symbol(float(batch), float(i)) * ((rejected_fraction / 100.) ** float(i)) * \
|
||||
((1 - (rejected_fraction / 100.)) ** (float(batch) - float(i)))
|
||||
((1 - (rejected_fraction / 100.)) ** (float(batch) - float(i)))
|
||||
|
||||
answer = round(100 * answer, 2)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user