**Python range() function - GeeksforGeeks**
https://www.geeksforgeeks.org/python-range-function/

Concatenation of two range() functions using itertools chain() methodThe result from two range() functions can be concatenated by using the chain() method of itertools module. The chain() method is used to print all the values in iterable targets one after another mentioned in its arguments. Output : Accessing range() with an Index ValueA sequence of numbers is returned by the range() function as its object that can be accessed by its index value. Both positive and negative indexing is supported by its object. Output : Published: Dec 26, 2018

Concatenation of two range() functions using itertools chain() methodThe result from two range() functions can be concatenated by using the chain() method of itertools module. The chain() method is used to print all the values in iterable targets one after another mentioned in its arguments. Output :

Accessing range() with an Index ValueA sequence of numbers is returned by the range() function as its object that can be accessed by its index value. Both positive and negative indexing is supported by its object. Output :

**Published:** Dec 26, 2018

**DA:** 53 **PA:** 78 **MOZ Rank:** 14