Write a program using if-else statements that convert from lbs to kg and vice versa. The inputshould be type (Lbs or Kg) and a number. The output of the program must be as shown in theexamples below.Example 1:Input: Enter your weight: 50 (L)bs or (K)g: LOutput: You are 22.5 kilosExample 2:Input: Enter your weight: 50 (L)bs or (K)g: KOutput: You are 111.11 poundsExample 3:Input: Enter your weight: 50 (L)bs or (K)g: kOutput: Either of your inputs are invalid!
python
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here