Commit 27b515b0 by BellCodeEditor

auto save

parent 513ee556
Showing with 13 additions and 0 deletions
# a=[1,2,3,4,5,6,7,8,9,10]
# b=0
# for i in a:
# b=b+i
# print(b)
a=[1,2,3,4,5,6,7,8,9,10]
b=1
for i in a:
b=b*i
print(b)
#3,628,800
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment