<pre><code>def answers():
ppv = tp/(tp + fp)
rcl = tp/(tp + fn)
return ppv, rcl
print("enter the value of true positive")
tp = input()
print("enter the value of false negative")
fn = input()
print("enter the value of false positive")
fp = input()
print("enter the value of true negative")
tn = input()
print('ppv and recall answers')
print(answers)
</code></pre>
<p>这是一个基于python中公式的基本计算器,它不显示任何错误,但也不显示所需的输出。有关更多信息,请查看下图</p>
<p><a href="https://i.stack.imgur.com/hbxHt.png" rel="nofollow noreferrer">here check the output it returns something like this <function answers at 0x000002377567F040></a></p>