Just started learning Python. Following a Youtube tutorial and this exercise is giving me the wrong result and I just can't fathom why.
I'm supposed to convert weight from kgs or lbs into the other unit. So I input weight in float, then I input the unit in string, and use an if function to convert it one way or the other.
In app.py, I get the lbs to kg conversion no matter what unit I input.
In app2.py, I get the wrong unit error no matter what unit I input.