Beispiel #1
0
def slice1():
    it = traffic_light()
    return list(islice(it, 96))
Beispiel #2
0
def slice2():
    it = traffic_light()
    return list(islice(it, 100, 217))