Home / Python Tips Generated By ChatGPT / The range Function in Python Generate a sequence of numbers. Source Code # Print numbers from 0 to 4 for i in range(5): print(i)