Computer Science, asked by prassanavathanan, 9 months ago

write a python program to find maximum between two numbers​

Answers

Answered by da4729204
4

Answer:

a = float(input("Enter First Number"))

b = float(input("Enter Second Number"))

print(max([a, b]))

Answered by Anonymous
2

# Python to find the

# maximum of two numbers

def maximum(a, b):

if a >= b:

return a

else:

return b

# Driver

a = 2

b = 4

(maximum(a, b))

Similar questions