From dcb55b7bd67a6122d5be14699712167809e4fef6 Mon Sep 17 00:00:00 2001 From: Yenou Isaiah Ayomide <97550820+aiDevolop@users.noreply.github.com> Date: Tue, 7 Jun 2022 22:50:38 +0100 Subject: [PATCH] Update 0-positive_or_negative_py --- 0-positive_or_negative_py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/0-positive_or_negative_py b/0-positive_or_negative_py index e0f5bcd..de1954f 100644 --- a/0-positive_or_negative_py +++ b/0-positive_or_negative_py @@ -1,4 +1,10 @@ #!/usr/bin/python3 import random number = random.randint(-10, 10) -# YOUR CODE HERE +if number > 0: + print("is positive\n") +if number == 0: + print("is zero\n") +else: + print("is negative\n") +