From 265b61343d5339cb20c0fcdab67ab8f57f97de12 Mon Sep 17 00:00:00 2001 From: Logen Kain Date: Mon, 17 Aug 2020 12:40:41 -0400 Subject: [PATCH] Add individual cost --- cost-of-smokes.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cost-of-smokes.py b/cost-of-smokes.py index 10c92a6..83664a7 100644 --- a/cost-of-smokes.py +++ b/cost-of-smokes.py @@ -21,8 +21,12 @@ while True: print("Please only type numbers") input("Press 'enter' to continue: ") continue + os.system('clear') break + +print("Your cigarettes cost", cost/20, "each") + print() print("You smoke: ") print(20 * packs, "per day")