π» Activity 4.1: Build a function to convert inches to feet#
It is common to use a function to conduct a useful conversion in a program. Try to make a function that converts inches to feet. Your function should print x inches is equal to y feet and z inches
. Call your function inches_to_feet
.β
Your function
...
Tests
...
Now build a function feet_to_inches
that converts feet to inches. Your function should print x feet and y inches is equal to y inches
.
Your function
...
Tests
...