In [ ]:
x=20
y=10
if(x>y):
  print(" x is greater than y")
else:
  print(" x is smaller than y")
In [8]:
x=10
y=13
if(x>y):
  print(" x is greater than y")
elif(y>15):
  print(" Y is greater than 15")  
else:
  print(" y is greater than x but less than 15")
 y is greater than x but less than 15
In [14]:
  m=int(input("Enter your mark "))
  if(m>=80):
    print("you got A grade")
  elif(m>=60):
    print("you got B grade")  
  elif(m>=40):
    print("you got C grade")    
  else:
    print("Failed in this exam ")
Enter your mark 40
you got C grade