Write a python function to accept a number and return all the numbers from 0 to that number


Topic: Write a python function to accept a number and return all the numbers from 0 to that number

Solution

def print_numbers(x):
    for i in range(x):
        print(i)



List all Python Programs