Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to use for in python

n=int(input("donner n:"))
p=1
for i in range(1, n):p=p*i
print('P=',p)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
7+1 =