write a python program to find maximum between two numbers
Answers
Answered by
4
Answer:
a = float(input("Enter First Number"))
b = float(input("Enter Second Number"))
print(max([a, b]))
Answered by
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