i fixed the problem . ty for helps btw.
the problem was after i started using Decimal was i was cheking the outputs
based on their lenght and when you type
getcontext().prec=20 ;
it returns allmost every mathematical output based on 20 digits eventhough
when they are not neccessary like 20.00000...00 = 20
the code was to fix this was there all the time and i mannaged to find it
eventually ;
Decimal.normalize(x); it deletes the unneccesary zeros.
ty for helps btw.
--
https://mail.python.org/mailman/listinfo/python-list