<filename>python/consec_num_seq_original.py
#!/usr/bin/env python3
"""Computes the n't sequence of a sequence of consecutive numbers."""

num_input = int(input())
num_range = int(num_input+1)

num = 0  # pylint: disable=invalid-name

for i in range(1, num_range):
    num +=i
    i += 1

print(num)

<filename>python/consec_num_seq_original.py
#!/usr/bin/env python3
"""Computes the n't sequence of a sequence of consecutive numbers."""

num_input = int(input())
num_range = int(num_input+1)

num = 0  # pylint: disable=invalid-name

for i in range(1, num_range):
    num +=i
    i += 1

print(num)

#!/usr/bin/env python3 Computes the n't sequence of a sequence of consecutive numbers. # pylint: disable=invalid-name