This is a blog just for uploading my python code which I'm learning right now with Linux .
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