Function in python Example: odd even Numbers

 Function in python Example: odd even Numbers

 def odd_even(x):

    if x%2==0:

        print(x ,"is even")

    else :

        print (x ,"is odd")

odd_even(10)



Comments

Popular posts from this blog

What is chopper

What is Resistor

Top 5 best Ethical hacking book for beginners