0

I should get output as True if n is either in list1 or list2

def list_xor(n, list1, list2):
    if n in list1 or list2:
        return True
    return False
Sayse
  • 41,425
  • 14
  • 72
  • 139
Geetha
  • 1

0 Answers0