Is ln() function available in Python 2.5 ?
( works fine in Python 3.1.2 and 2.7.2 )
Following piece of code gives NZEC on SPOJ when submitted using Python 2.5
import sys
from decimal import *
getcontext().prec = 115
lt = Decimal('10').ln()
Problem : spoj.pl/problems/CALCULAT/
Solved it using Python 3.1.2.