Toptube Video Search Engine



Title:Python weight conversion exercise 🏋️
Duration:04:01
Viewed:47,944
Published:31-10-2022
Source:Youtube

#Python #course #tutorial Python exercises for beginners # Python weight converter weight = float(input("Enter your weight: ")) unit = input("Kilograms or Pounds? (K or L): ") if unit == "K": weight = weight * 2.205 unit = "Lbs." print(f"Your weight is: {round(weight, 1)} {unit}") elif unit == "L": weight = weight / 2.205 unit = "Kgs." print(f"Your weight is: {round(weight, 1)} {unit}") else: print(f"{unit} was not valid")



SHARE TO YOUR FRIENDS


Download Server 1


DOWNLOAD MP4

Download Server 2


DOWNLOAD MP4

Alternative Download :