0 out of 68 challenges solved

Classify the given number

Question:
Write a function called classify_number that takes an integer as input and returns a string indicating whether the number is positive, negative, or zero. Use conditional statements (if-elif-else) to perform the classification.

Example:
Input: 5
Output: "Positive"

def classify_number(number):
    """
    Classifies the given number as positive, negative, or zero.

    Args:
        number (int): The input number.

    Returns:
        str: A string indicating the classification of the number.
    """
    # TODO: Implement the classify_number function
    pass