def calculate(x): return (1-x)**365 if __name__=='__main__': print(calculate(0.001)) print(calculate(0.005)) print(calculate(0.01))