"""script that calculates the summation of the numbers
(preceding the input number) that has been
typed in"""

print("Enter a number:")
var=input()
var=int(var)
a=range(var)
b=sum(a)
print(b)

a6a9be3e617689fd191efbb6a80736c5540f690a
<mask token>

<mask token>
print('Enter a number:')
<mask token>
print(b)

<mask token>
print('Enter a number:')
var = input()
var = int(var)
a = range(var)
b = sum(a)
print(b)

"""script that calculates the summation of the numbers
(preceding the input number) that has been
typed in"""

print("Enter a number:")
var=input()
var=int(var)
a=range(var)
b=sum(a)
print(b)
