Write a Python program to check if a given function is a generator or not. Use types. GeneratorType().
INPUT:
0 Comments