Incremental sequence

def incrementalSequence(n):
    current = 1
    for i in range(0, n):
        current += i
        print(current, end=" ")

n = int(input("Enter the number of values to be output: "))
incrementalSequence(n)
Output
Enter the number of values to be output: 10
1 2 4 7 11 16 22 29 37 46