Share your repls and programming experiences

← Back to all posts
#WEEKLY Conversion calculator in Python
JeswinSunsi

Hey y'all,

Here's my submission for the #weekly challenge by @TheDrone7 . It is a Length converter written in Python. It can convert your value into eight different units. It also has proper error handling. Everything was coded by me, including func.py and conv.py. I played around with the code to give it more of an appeal, after all, even CLI users are humans xDD. Anyway, here are the units -

Meter
Centimeter
Milimeter
Inch
Kilometer
Yard
Mile
Feet

Hope everyone likes it. Wear a mask, and stay safe everyone!

Ps: Sorry if I'm a tad bit late, have my exams going on. Also, I wrote the unit change values at night, if you find an error in the conversion, please do inform me.

Thankss
Voters
userSM
JeswinSunsi
Comments
hotnewtop
TheDrone7

SCORED.

userSM

Nice work, but you could have used the python pint module for making this process easier

JeswinSunsi

@userSM Huh, I thought the rules didn't allow that, thats why I didnt use Pint. Anyway, thanks for checking it out :)