print("Please enter a number")
fact=int(input())
count = 1
result = 0
while count <= fact:
   
    calc=count*count+1
    result+=calc
    count += 1
print("The result is "+str(result))

c9e8ed09b5c69dba673b3ac6547214945ebefdb6
<mask token>

print('Please enter a number')
<mask token>
while count <= fact:
    calc = count * count + 1
    result += calc
    count += 1
print('The result is ' + str(result))

print('Please enter a number')
fact = int(input())
count = 1
result = 0
while count <= fact:
    calc = count * count + 1
    result += calc
    count += 1
print('The result is ' + str(result))

print("Please enter a number")
fact=int(input())
count = 1
result = 0
while count <= fact:
   
    calc=count*count+1
    result+=calc
    count += 1
print("The result is "+str(result))
