# tuples.py
"""Demonstrate how to use a tuple to return multiple values
from a function."""

INCHES_PER_FOOT = 12

def to_feet_and_inches(height_in_inches):
    feet = height_in_inches // INCHES_PER_FOOT
    inches = height_in_inches % INCHES_PER_FOOT
    return (feet, inches)

all_inches = 62
(ft,ins) = to_feet_and_inches(all_inches)
print("You are "+str(ft)+" feet, "+str(ins)+" inches.")

all_inches = 59
t= to_feet_and_inches(all_inches)
print("You are "+str(t[0])+" feet, "+str(t[1])+" inches.")
