From ca1e52929c911874232f1ec721059a357f5e3946 Mon Sep 17 00:00:00 2001 From: Joe S <31870999+KenwoodFox@users.noreply.github.com> Date: Fri, 29 Jan 2021 16:39:38 -0500 Subject: [PATCH] Add 4.2.3 solution --- 4/4.2/4.2.3/main.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 4/4.2/4.2.3/main.py diff --git a/4/4.2/4.2.3/main.py b/4/4.2/4.2.3/main.py new file mode 100644 index 0000000..bfad071 --- /dev/null +++ b/4/4.2/4.2.3/main.py @@ -0,0 +1,5 @@ +user_num = int(input()) + +while user_num >= 1: + user_num = user_num / 2 # We operate on the value first, before printing it + print(user_num)