when you first start using Jupyter notebook you feel it difficult in comparison to VS code. but believe me it's not that hard.
weight = int(input('weight: ')) unit = input ("(L)bs or (K)g: ") if unit.upper() == "L": converted = weight * 0.45 print(f"you are {converted} killos") else: converted = weight / 0.45 print(f"you are {converted} pounds")

Comments
Post a Comment