Write a Python function to return woodall numbers


Topic: Write a Python function to return woodall numbers

Solution

def woodall_number(n):
    if n >= 0:
        return n * 2 ** n - 1
    
    



List all Python Programs