Exercise: Generator: uniq()

You came up with a solution for Exercise: Function: uniq().

In that solution, you use a temporary list to hold the to-be-returned uniqified numbers. Transform your solution to use yield instead.