Reply To: How to fix invalid literal for int() with base 10 in Python?

#71705

Ozoemena
Member
Rank: Knight of Hope

Hi Ike.
Please try float your height and weight as seen below and you’ll be fine.

h = float(height)
w = float(weight)