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")
In questa pagina del sito puoi guardare il video online Python Project for beginner(weight converter) della durata di ore minuti seconda in buona qualità , che l'utente ha caricato The GrapTech 18 maggio 2025, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 9 volte e gli è piaciuto 3 spettatori. Buona visione!