Weights

In this exercise your task is to write code that will produce a table of weights in both kilograms (kg) and pounds (lb). You should use the following conversion/( 1 kg = 2.20462 lb /)You are given a list of weights (as strings) in either kilograms or pounds, e.g.,10.0 kg
5.1 kg
52 lb
20 kg
where a space separates the weight value from the units.Your code should output a table of weights containing both kilograms and pounds. To help you we have written a function called print_row to print each row of the table. You should call this function when you wish to output a row in the table as it will format the row in the way we expect.For example, the output for the input given above should be:kg lb
10.0 22.0
5.1 11.2
23.6 52.0
20.0 44.1