I have a piece of code which looks like below:
a = None
b = None
c = None
d = None
if a==None and b==None and c==None and d==None:
print("All are None")
else:
print("Someone is not None")
What would be the pythonic way or shorter way to achieve this as I have more number of variables to check like this?