I have two lists and I want to use both in if condition together.
In case only One list this can do easily
like if list_name : # if list a :
for more than 2 lists this method is not working.
although we can use separately if or using len(a) like comparison.
I am searching for simple & beautiful result.
a = [1,2,34]
b= [4,5,6,3]
# if a & b : # i was expecting this will work <br>
#if (a is True) & (b == True): # this all not working <br>
# if (len(a) >=1) & (len(b) >=1): # This will work but not beautiful <br>
#
print("Not Working") #
print("working ")