diff --git a/mathgenerator/funcs/statistics/conditional_probability.py b/mathgenerator/funcs/statistics/conditional_probability.py index dca1429..359ae86 100644 --- a/mathgenerator/funcs/statistics/conditional_probability.py +++ b/mathgenerator/funcs/statistics/conditional_probability.py @@ -20,8 +20,8 @@ def conditionalProbFunc(format='string'): if format == 'string': problem = "Someone tested positive for a nasty disease which only {0:.2f}% of population have. " \ "Test sensitivity (true positive) is equal to SN= {1:.2f}% whereas test specificity (true negative) SP= {2:.2f}%. " \ - "What is the probability that this guy really has that disease?".format( - P_disease, true_positive, true_negative) + "What is the probability that this guy really has that disease?".format( + P_disease, true_positive, true_negative) solution = str(answer) + "%" return problem, solution else: