import math test_values = [0.0607, 0.0100, 0.0123, 0.0042, 0.0168, 0.0123, 0.0027, 0.0232, 0.0137, 0.0313, 0.0079, 0.0278, 0.0091, 0.0082, 0.0500, 0.2378, 0.0603, 0.0025, 0.0249, 0.0055, 0.0339, 0.0109, 0.0029, 0.0198, 0.0118, 0.1537, 0.1459] for value in test_values: print(math.log(value)) -2.8018115809166844 -4.605170185988091 -4.398156016603766 -5.472670753692815 -4.086376392572924 -4.398156016603766 -5.914503505971854 -3.763603000309873 -4.290359446148058 -3.4641371814360293 -4.840892519509161 -3.582719258285546 -4.699480865459333 -4.803621124711929 -2.995732273553991 -1.4363252947254554 -2.8084231752489974 -5.991464547107982 -3.6928874755114753 -5.2030071867437115 -3.3843402645957323 -4.518992489747039 -5.843044541989709 -3.9220733412816475 -4.439655747510518 -1.8727526284375868 -1.924833823453397