Question: How do I fix my error? In [1]: heightl=input(What is the height of parent 1?) heightl=float(heighti) height2=input(What is the height of parent 2?) height2=float(height2) What
![How do I fix my error? In [1]: heightl=input("What is the](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f455217fa5f_60866f45520eef5b.jpg)

How do I fix my error?
In [1]: heightl=input("What is the height of parent 1?") heightl=float(heighti) height2=input("What is the height of parent 2?") height2=float(height2) What is the height of parent 1?160 What is the height of parent 2?190 In [2]: faverageheight=(height1+height2)/2 print(averageheight) higherrange=averageheight+15 lowerrange=avergaeheight-15 175.0 NameError Traceback (most recent call last)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
