I am using Python 2 but I'm getting an error:
TypeError: unsupported operand type(s) for /: 'str' and 'float'
when the script runs to the last line. I don't understand which variable is still a string type.
from sys import argv
script, age, height=argv
print 'you\'re %r old'%age
weight=input('and i need your weight to calculate BMI, can you tell me:')
print 'your BMI is %r'%weight/((float(height)/100)**2)