diff --git a/max.py b/max.py new file mode 100644 index 0000000..76ac272 --- /dev/null +++ b/max.py @@ -0,0 +1,15 @@ +# Python program to find the +# maximum of two numbers + + +def maximum(a, b): + + if a >= b: + return a + else: + return b + +# Driver code +a = 2 +b = 4 +print(maximum(a, b))