answersLogoWhite

0


Best Answer

Here is something I made to convert height while learning python.

height_cms = 190

inches = height_cms / 2.54

feet = inches / 12

remainder_inches = inches % 12

print "%d cms is %d feet and %d inches." % (height_cms, feet, remainder_inches)

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you write a python program to convert meters and centimeters into feet and inches?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you convert meters and centimeters to feet and inches in C?

There are about 2.5 centimeters in one inch. Convert the meters to centimeters and divide that by 2.5


Convert 5 ft 5 inches to metric?

Convert everything to inches, then multiply by 2.54 to get centimeters - or by 0.0254 to get meters.Convert everything to inches, then multiply by 2.54 to get centimeters - or by 0.0254 to get meters.Convert everything to inches, then multiply by 2.54 to get centimeters - or by 0.0254 to get meters.Convert everything to inches, then multiply by 2.54 to get centimeters - or by 0.0254 to get meters.


How do you use three unit multipliers to convert 36 meters to feet?

meters to centimeters x100 centimeters to inches /2.54 inches to feet /12


What is 5 foot 7 inches in meters and centimeters?

The answer is 170.18 centimeters. One inch is equal to 2.54 centimeters. To convert inches into centimeters, multiply the 67 inches by 2.54.


How many centimeters is 151 feet 11 inches?

The answer is 4630.42 centimeters, or 4.63042 meters. One inch is equal to 2.54 centimeters. To convert inches into centimeters, multiply the 1823 inches by 2.54.


What is 163 meter converted to feet and inches?

163 meters = 16300 centimeters Divide the centimeters by 2.54 to get them in inches. Then divide the inches by 12 to convert inches to feet.


How long is 20 inch in centimeters?

The measurement 20 inches is the same as 50.8 centimeters. This is because 1 inch is the same as 2.54 centimeters. You can convert the 20 inches into meters aswell which would be 0.508 meters.


Convert 4 ft 11 inches to meters and centimeters?

4 Feet = 1.21920 Meters 10 Inches = 0.25400 Meters total 1.4732 metres


How much is 300 cm in meters?

The answer is 118.11 inches (approx.). Inches and centimeters are both units of linear measurement. Inches are used in the imperial system whereas centimeters are used in the metric system. To convert from cm to inches, multiply the cm unit by 0.393701.


Convert a volume of 1.84 cubic inches into cubic centimeters and cubic meters?

1.84 cubic inches = 30.1521978 cubic centimeters = 0.31521978 cubic metres


How do you convert cubic inches into cubic meters?

1 inch = 2.54 centimeters 1 meter = 100 centimeters (1 inch) x (2.54 centimeters)/cubic inches x (1 cubic meter)/(100 centimeters) 1 cubic inches = 0.000016387 cubic meters for every cubic inches, multiply it with 0.000016387 cubic meters you may try this online converter next time http://www.rillocenter.com/convert/volume.html


How to convert millimeter in inches?

Scroll down to related links and look at "Inches - feet - yards - millimeters - centimeters - meters".