SyntaxFix
Write A Post
Hire A Developer
Questions
Just continue the loop when you get None Exception,
example:
a = None if a is None: continue else: print("do something")
This can be any iterable coming from DB or an excel file.