{}

Build your resume with HTML & CSS and win $100

Get featured on Programiz PRO and the Wall of Inspiration.

Build your resume with HTML & CSS and win $100

Join Challenge →
Join Challenge →

Build your resume with HTML & CSS and win $100

Get featured on Programiz PRO and the Wall of Inspiration.

Build your resume with HTML & CSS and win $100

Join Challenge →
Join Challenge →
run-icon
main.py
weight = input("Enter Your Weight: ") unit = input("L(bs) or K(g): ") if unit == 'kg': lb = float(weight) * 2.2046 print("Your weight in L(bs): ",lb) elif unit == 'lb': kg = float(weight) * 0.453592 print("Your weight in K(g): ",kg) else: print("invalid")
Output