EY Interview Question

They asked oops concepts , decorator, iterator, generator