import math as M
def PCF(POH,NOR):
    return M.floor((1-((1-POH)**NOR))*1000)/10
def RNCF(POH,P):
    return M.floor(((M.log(1-P))/(M.log(1-POH)))*1000)/1000
print(PCF(1/(16**32),16),end="%\n")
print(RNCF(1/(16**3),999/1000),end="回\n")

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: