From 137ad76abdccb3fd2cc1e1eb260bd686427be5f8 Mon Sep 17 00:00:00 2001 From: clcastillo Date: Tue, 16 Oct 2018 10:16:46 -0700 Subject: [PATCH] Added Proj#1 --- Carla_proj1.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Carla_proj1.py diff --git a/Carla_proj1.py b/Carla_proj1.py new file mode 100644 index 0000000..d6d9d4c --- /dev/null +++ b/Carla_proj1.py @@ -0,0 +1,11 @@ +for num in range(1, 101): + if num % 3 == 0 and num % 5 == 0: + print('FizzBuzz') + elif num % 3 == 0: + print('Fizz') + elif num % 5 == 0: + print('Buzz') + else: + print(num) + + \ No newline at end of file