diff --git a/0-positive_or_negative_py b/0-positive_or_negative_py index e0f5bcd..e9d1086 100644 --- a/0-positive_or_negative_py +++ b/0-positive_or_negative_py @@ -1,4 +1,11 @@ #!/usr/bin/python3 import random number = random.randint(-10, 10) -# YOUR CODE HERE +print(f"The number is {number}") + +if number > 0: + print("The number is positive") +elif number == 0: + print("The number is zero") +else: + print("The number is negative")