Explore

Python Programs

Convert Kilograms To Pounds In Python

Convert Kilograms To Pounds In Python

Looking for a way to convert kilograms to pounds in python then you are at the right place, today in this python tutorial I will show you how to convert Kilograms To Pounds In python programming.

Converting kilograms to pounds (lbs) in python is very easy to do. I will show you the exact way to convert kg to pounds in python, so read till the end.

As we know 1 kg is 2.205 pounds so we just need to multiply the kg with 2.205 and we will get the result in pounds, below are some examples.

Example


Input: 2 KG
Output: 4.41 Pounds
Input: 10 KG
Output: 22.05 Pounds

Above are some examples of converting kg to lbs in python now let’s see how to convert it in code.

Code To Convert Kilograms To Pounds In Python 


kg = int(input("Enter weight in KG: "))
pound = 2.205 

result = kg * pound

print(f"{result} Pounds")

Above is the code to convert kg to pounds in python, you can copy and paste the code in your program and run the code.

You can use an online python compiler to test the code. It will ask you to enter the kg you want to convert to pounds, and it will print the result in pounds.

Output


Enter weight in KG: 2
4.41 Pounds

Above is the example output of the program, as you can see it successfully convert kilograms to pounds in python.

Summary

This was the python program to convert kilograms to pounds (lbs). I hope you found this python tutorial helpful and useful.

Here are more python guides you may find useful:

I hope you found what you were looking for from this tutorial. Do share it with your friends and also join our Telegram channel for future updates.

Thanks for reading, have a nice day 🙂