Practice the exact questions companies are asking right now.
Given a list of integers, write a Python generator that yields the integers from the list while handling edge cases such as None values, empty input, ...