From a10799cdf4f88eced1dd9a1e29143675f70a0a0c Mon Sep 17 00:00:00 2001 From: Andrea Zonca Date: Thu, 19 Jul 2018 01:55:22 -0700 Subject: [PATCH] implement pounds2kg --- conversion.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/conversion.py b/conversion.py index 4a1965d..350fedb 100644 --- a/conversion.py +++ b/conversion.py @@ -9,3 +9,8 @@ def gallons2liters(gallons): """Convert gallons to liters""" liters = gallons * 3.785 return liters + +def pounds2kg(pounds): + """Convert pounds to Kg""" + kilograms = pounds / 2.2 + return kilograms