As you know, Covid-19 tests are common nowadays, but some results of tests are not true. Let’s assume a diagnostic test has 90% accuracy and 60% of all people have Covid-19. If a patient tests positive, what is the probability that they actually have Covid Positive? Write a program that calculates the required probability.
prior_probability (float) probability of positive marked (float) probability of negative marked (float) All the inputs are in string format kindly typecast them into required formats.
0.7 0.95 0.05
Used the concept of bayes theorem