Advertisement
balispecial

5

Feb 22nd, 2020
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. numbers = [4,5,6] # here is my list of numbers
  2. def product(numbas):
  3.       multiply = 1 # i declared my product
  4.       for numba in numbas:
  5.            multiply *= numba
  6.       print(multiply)
  7. product(numbers
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement