Write a Function to Print 1 to 10 in Python || Type 2 || Functions || Python

 

In this we are going to see how to build a function to to Print 1 to 10 in Python - Type 2 of Functions in Python Programming Language.

def print_numbers(a, b):
    for i in range(a, b):
        print(i)


print_numbers(1, 11)
# Coded By Ashish

#ENJOY CODING


Post a Comment

FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP

Previous Post Next Post