Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

2 - 20 python

n = 2
# stop: 11 (because range never include stop number in result)
# run loop 10 times
for i in range(1, 11, 1):
    # 2 *i (current number)
    product = n * i
    print(product)
Source by pynative.com #
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
3+4 =