Python - Ejercicio Python

 
Vista:
sin imagen de perfil
Val: 4
Ha disminuido su posición en 20 puestos en Python (en relación al último mes)
Gráfica de Python

Ejercicio Python

Publicado por Mau (3 intervenciones) el 26/02/2020 16:42:48
¿Alguien me podría decir como hacer este ejercicio de Python?

Write the code that asks the user age, sex and months of training and calculates the personal recommended weight of a gym exercise, such that: the minimum weight is 20 Kg, the maximum is 60 kg for older than 65 years or 80 kg otherwise, and the formula adds 2 kg for each month of training in case of men and 1 kg per month for women. EXAMPLE: For a 50 years old man with 16 months of training => the recommended weight is 52 kg
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder