CodePudding user response:
So to call, but you have a loop variable control problem
# - * - coding: utf-8 - * -
The import math
N=10
Sum=0
For I in range (1, n + 1) :
The sum +=math.h factorial (I)
Print the sum
CodePudding user response:
python range (a, b) from a to b - 1