"Ounces To Pounds" & "Pounds To Ounces" converter!
Published May 02, 2010
Updated May 02, 2010
***READ BEFORE USING***
This is a simple Pounds To Ounces and Ounces To Pounds converter! Type oz2lb() for ounces to pounds. Type lb2oz() for pounds to ounces. ALL NUMBERS YOU ENTER MUST HAVE A DECIMAL IN THEM! DO NOT TYPE 15, TYPE 15.0! NOT ADDING A DECIMAL MAY LEAD TO A WRONG ANSWER! ;) Have fun!
print 'REMEMBER ALL NUMBERS MUST HAVE A DECIMAL IN THEM... for example do not type 15 for ounces you will get 0 pounds. Type 15.0 and you will get the correct answer!'
print 'type oz2lb() to convert ounces to pounds type lb2oz() to convert pounds to ounces!'
Ounces = input('Enter ammount of ounces: ')
Pounds = Ounces / 16;
print Ounces, 'Ounces =', Pounds, 'Pounds';
Pounds = input('Enter ammount of pounds: ')
Ounces = Pounds * 16;
print Pounds, 'Pounds =', Ounces, 'Ounces';