def calorieCalculator():
    weight = float(input("Weight (kg): "))
    height = float(input("Height (cm): "))
    age = int(input("Age (years): "))
    caloriesUsed = (10 * weight) + (6.25 * height) - ((5 * age) - 161) 
    print("Personal attributes: Weight=%.1f\tHeight=%.1f\tAge=%d" \
          %(weight,height,age))
    print("Calories expended=%.1f" %(caloriesUsed))

calorieCalculator()
