I have two variables, a and b, and I have some combinations:
- ais blank and- bis- None
- ais- Noneand- bis blank
- ais blank and- bis blank
- ais- Noneand- bis- None
and I need to match all the four conditions in one line. I am trying to do with:
if ((a, b) in ['', None, '', None]))
However, this does not produce the desired result.
 
     
     
     
    