Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Largest number python

# This program will find out the greater number in the arguments

def larger_number(x, y):
    if x > y:
        print(x, "is greater")
    else:
        print(y, 'is greater')

larger_number(12, 31)
 
PREVIOUS NEXT
Tagged: #Largest #number #python
ADD COMMENT
Topic
Name
6+6 =