Showing posts with label kilograms to pounds in python. Show all posts
Showing posts with label kilograms to pounds in python. Show all posts

Sunday, February 7, 2016

Kilograms To Pounds Converter in Python


A simple program that I wrote in Python as my programming language that will ask the user to give how many kilograms and then it will convert it to pounds equivalent. The code is very simple I intended my work for beginners like me in Python programming.

If you have some questions please send me an email at jakerpomperada@gmail.com and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.




Sample Program Output


Program Listing

import math

print('\n')
print('\t Kilograms To Pounds in Python')
print('\n')

kilograms = input('How many kilograms : ')

solve_pounds = (kilograms * 2.20462262 )

print('\n')
print('The {0} Kilogram(s) is equivalent to {1} Pound(s). '.format(kilograms,round(solve_pounds,2)))
print('\n')
print('Thank you for using this program')