Python: Convert Pounds to Kilograms

less than 1 minute read

The code has been modified slightly and now uploaded to the site.

The questions are from the C++ Textbook.

Question

<— Return Home

24.py

value = float(input("Enter a value in pounds: "));
conversion = value * 0.454;
print(str(value) + " pounds is " + str(conversion) + " kilograms");

<— Return Home