ztonaz

*Last 24 hours - Euro currency

Sunday, January 26, 2020

Years to centuries converter in Python

I saw if you try on google to convert years to centuries it's awkward.
(they didn't round the number for century up)

You must divide by 100 and round up the result to get the right century.


This challenge was on Codewars too


No comments:

Post a Comment