
Create Intervals (generator version)
From a set of ints you have to create a list of closed intervals as tuples, so the intervals are covering all the values found in the set.
In this mission you should use the 'yield' to make your function a generator.
A closed interval includes its endpoints! The interval 1..5, for example, includes each value x that satisfies the condition 1 <= x <= 5.
Values can only be in the same interval if...
A single value, that doesn't fit into an existing interval becomes the start- and
endpoint of a new interval.
You should be an authorized user in order to see the full description and start solving this mission.