From 0344a331fcd4c9c1a92a84af291b08a5d1597d25 Mon Sep 17 00:00:00 2001 From: cheeks <134818917+leftovertoast@users.noreply.github.com> Date: Mon, 3 Feb 2025 14:11:38 -0500 Subject: [PATCH] Completed Exercise 7-3 Multiples of Ten --- Chapter_07/7-03_multiples_of_ten.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Chapter_07/7-03_multiples_of_ten.py diff --git a/Chapter_07/7-03_multiples_of_ten.py b/Chapter_07/7-03_multiples_of_ten.py new file mode 100644 index 0000000..26a5067 --- /dev/null +++ b/Chapter_07/7-03_multiples_of_ten.py @@ -0,0 +1,9 @@ +# Exercise 7-3 Multiples of Ten +# Learning Objective: Perform math on an input. + +provided_number = input("Please input a number: \n") + +if int(provided_number) % 10 == 0: + print("This number IS a multiple of ten.") +else: + print("This number IS NOT a multiple of ten.") \ No newline at end of file