Making choices unit conversion challenge (solution)

Exercise
Output solution

Code solution for Unit Conversion Challenge.

This function takes a measurement of (energy_value) energy and converts it between Joules(J), Kilojoules(KJ), Calories(CAL), Kilocalories (KCAL). The units labeled in parentheses are passed into the function as strings for the input_unit and output_unit arguments.

  1. What is the daily metabolic energy used by a human in Joules.
[1] 10467000
  1. How many times more energy does a common seal use than a human?
[1] 5.015764
  1. How many ergs (ERG) are there in one kilocalorie.
Sorry, I don't know how to convert from ERG