Â
In this we are going to see a basic example to Find Max of Three Numbers - Type 4 of Functions in Python Programming Language.
def max_num(a, b, c):
if a > b and a > c:
return a
elif b > a and b > c:
return b
else:
return c
x = max_num(23, 37, 30)
print(x)
# Coded By DHIRAJ SHELKE
#ENJOY CODING
Post a Comment
FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP