Home >Topic List >what is python range

what is python range

Range in Python is a built-in function in Python, used to generate a series of continuous integers, generally used in for loop bodies. No matter how long the integer sequence represented by the range object is, all range objects occupy the same memory space because only start, stop and step need to be stored. Only when the range object is used, the relevant elements in the sequence will be calculated. , its syntax is "range(start, stop[, step]". This topic provides you with various articles, downloads and courses related to python range.