Name = input('Введите имя:')
pol = input('Введите пол:'')
rost = int(input('Введите рост:'))
if pol.lower() == 'мужчина':
weight = (rost - 100) * 1.15
print(name + ' ваш идеальный вес ' + str(weight))
else:
weight = (rost - 110) *1.15
print(name + ' ваш идеальный вес ' + str(weight))