Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Pythons programs

1. # Python program to find the

# maximum of two numbers

maximum

def (a, b):

if a >= b:

return a

else:

return b

# Driver code

a=2

b=4

print(maximum(a, b))

You might also like