Is Positive
Beginner
Welcome young coders! đ In this challenge, you'll be writing a super fun and simple function to check if a number is positive.
When we say a number is positive, it means it's greater than zero. We want our function to let us know if the given number is positive by returning True for positive numbers and False otherwise.
Here are some examples of how your function should work:
is_positive(5) # This should return True because 5 is greater than zero. is_positive(-3) # This should return False because -3 is less than zero. is_positive(0) # This should return False because 0 is not greater than zero.
Your task is to create a function called is_positive that does exactly this. Ready, set, code! đ
Inputs
Arg 1:
5Expected Output
trueActual Output