Python Project for beginner(weight converter) #python
#coding #develop
python, python project, python for beginners, weight converter, python weight converter, coding for beginners, learn python, python projects for beginners, python coding, python programming, python example, python basics, python tutorial, easy python project, python step by step, simple python project
Code:
weight = float(input("Enter Weight:"))
unit = input("Enter unit (K/L): ")
if unit == "K":
weight = weight * 2.205
unit = "Lbs"
print(f"Weight in pounds: {weight} {unit}")
elif unit == "L":
weight = weight / 2.205
unit = "kg"
print(f"Weight in kilograms: {weight} {unit}")
else:
print("Invalid unit")
On this page of the site you can watch the video online Python Project for beginner(weight converter) with a duration of hours minute second in good quality, which was uploaded by the user The GrapTech 18 May 2025, share the link with friends and acquaintances, this video has already been watched 9 times on youtube and it was liked by 3 viewers. Enjoy your viewing!