Problem 1.2
Product of Numbers
Compute the product of the list of numbers mentioned on the top of the program using a for loop and print the result.
Solution
# Do not change this line
numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
# Compute the product of the list of numbers mentioned above using
# a for loop and print the result.
# Your code below this line
result = 1
for n in numbers:
result *= n
print(result)