demo_type_range.py:
x = range(6) #display x: print(x) #display the data type of x: print(type(x))
C:\Users\My Name>python demo_type_range.py
range(0, 6)
<class 'range'>