From 15c410289b3587ff20140b7ad47dda9ced4299a1 Mon Sep 17 00:00:00 2001 From: lukew3 Date: Wed, 6 Oct 2021 10:53:01 -0400 Subject: [PATCH] conditional_probability lint fix --- mathgenerator/funcs/statistics/conditional_probability.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: