if else elif python

# if,elif,else in statement.
m=1
n=2
p=3
if nm,hence not satisfied)
elif p!=m+n:
    print('p is not equal to  sum of m and n')#(p==m+n, hence not satisfied)
else:
    print('not satisfied')
output:
not satisfied
................................................................................

Here is what the above code is Doing:
1. It first checks if n is less than m. If it is, it prints ‘n is greater than m’.
2. If n is not less than m, it checks if p is equal to m+n. If it is, it prints ‘p is equal to sum of m and n’.
3. If neither of the above conditions are satisfied, it prints ‘not satisfied’.