Hi everyone, I am extremely new to python, and pls tell me how do you write this equation in Python
how do you define equation calories/Minute = 0.0175 X MET X Weight in program
I am wondering about this thing below:
how do you define equation calories/Minute = 0.0175 X MET X Weight in program
I am wondering about this thing below:
def poundsToMetric(pounds): kilograms = pounds / 2.2 return int(kilograms) kg = poundsToMetric(pounds) print('The amount of pounds you entered is {}. '\ 'This is {} kilograms'.format(pounds, kg))