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

 

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

def print_numbers():
    for i in range(1, 11):
        print(i)


print_numbers()

# Coded By DHIRAJ SHELKE

#ENJOY CODING


Post a Comment

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

Previous Post Next Post