# The most easist way imade it my self : */ # imports: import itertools # the loop you can also copy this while True: for i in itertools.count(start=1): add = ">>>" main = i * 1 input(str(main) + " " + add) # Thank You