Question: input('Please enter the height to be converted.') feet = int(input('First, enter the feet: ')) inch = int(input('Now, enter the inches: ')) # process inches =

input('Please enter the height to be converted.') feet = int(input('First, enter the feet: ')) inch = int(input('Now, enter the inches: ')) # process inches = feet * 12 + inch cm = float((feet * 12 + inch)* 2.54) # output print('Your height is',feet,'feet',inch,'inches or',inches,'inches. That is',format(cm,'.2f'),'cm.')

# second input input('Please enter a second height to be converted.') cm2 = int(input('Enter the height in centimeters: ')) # second process inch2 = float(cm2 / 2.54) feet2 = int(inch2 // 12) inch3 = float(inch2 % 12) # second output print('Your height is',cm2,'cm, That\'s',format(inch2,'.3f'),'inches, or',feet2,'feet',format(inch3,'.3f'),'inches.')

how do i make the inch3 fractions and report the value to the nearest eighth

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!