Write a function to check if a number is positive or not


Topic: Write a function to check if a number is positive or not

Solution

def check(num):
    if num > 0:
        return True
    return False



List all Python Programs