Verkettung von zwei Bereiche () -Funktionen

# welcome to softhunt.net
from itertools import chain

# Using chain method
print("Concatenating the result: ")
res = chain(range(6), range(6, 20, 2))

for i in res:
	print(i, end=" ")
print()
Outrageous Ostrich