Выдает ошибку при написании кода(делаю формулу Бррока)
Name = input("Ваше имя")
growth = input("Ваш рост")
weight = input("Ваш вес")
man = (growth-100)*1.15
woman = (growth-100)*1.15
print(Name,("ваш идеальный вес"),man,woman )

ОШИБКА:Traceback (most recent call last):
File "C:/Users/admin/PycharmProjects/Anatolii/Имя.py", line 4, in
man = (growth-100)*1.15
TypeError: unsupported operand type(s) for -: 'str' and 'int'

Помогите пожалуйста!
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.