Give an example of a call you could make to this function that would return True. Explain
Fantastic news! We've Found the answer you've been seeking!
Question:
Give an example of a call you could make to this function that would return True. Explain what it's doing and why your call returns True.
def weird_function(x,*args):
a = args[:len(args)//2]
b = args[len(args)//2:]
return (x in a) and (x in b)
Related Book For
Posted Date: