Posts

Showing posts with the label if any number is equal to 6 or sum or difference is equal to 6 in python

if any number is equal to 6 or sum or difference is equal to 6 in python

  if any number is equal to 6 or sum or difference is equal to 6 in python      a = int(input())      b = int(input())      if(a==6 or b==6 or a+b==6 or abs(a-b)==6):          print("Lucky")      else:          print("Not Lucky")