top of page
learn_data_science.jpg

Data Scientist Program

 

Free Online Data Science Training for Complete Beginners.
 


No prior coding knowledge required!

Writer's pictureYoussef Hussien

Heavyweight Champ (Pounds to Ounces & Kilograms)

Hello folks,

This is youssef Hussien and this is my second blog post here:) I hope that I can perfectly convey my message to you.

This blog post is about a simple application I created in Python. It’s called “lbToKgAndOunces”. As the name suggests, this application is mainly used to convert from a given Pounds measurement to its equivalent Ounces measurement and more importantly its Kilograms measurement. But at first, what are Pounds, Ounces, and Kilograms measurements, and why conversion between them is important.


Pounds and ounces both belong to the same system of units which is the Imperial system of units. On the other hand, Kilograms belong to the SI unit of mass. One pound (lb) is equivalent to 16 ounces (OZ). And one pound (lb) is equivalent to 0.453592 kilograms (kg). The formula to convert from pounds to kilograms is kg= lb / 2.205. While the formula to convert from pounds to ounces is oz= lb * 16


Thus it is important to be able to convert between the two scales easily and smoothly. This app does so.

  1. For this application, the user is requested to enter a pound (lb) measurement.

  2. The user is then prompted with his input

  3. Then the conversion result is opted out to the screen which entails:

  • The equivalent ounces (oz) measurement

  • The equivalent kilograms (kg) measurement.


References:

https://physicscatalyst.com/article/difference-between-pound-and-kilogram/



0 comments

Recent Posts

See All

Comments


bottom of page