range function python definintion code example Example: range in python #range(start,stop,step) for x in range(0,20,2): print(x)