def multiply_of_list_item(_list): multiply_of_item = 1 for item in _list: multiply_of_item *= item return multiply_of_item def main(): print(multiply_of_list_item([1, 2, 8, 12, 15])) if __name__ == '__main__': main()
Name | Views | Likes |
---|---|---|
Python List find out the Max value | 371 | 10 |
Python clear to List. | 387 | 10 |
Python List to clone or copy a list | 380 | 10 |
Python List check empty or not. | 366 | 10 |
Python List multiply of all the items in a list | 431 | 10 |
Python reverse to the List | 460 | 10 |
Python List remove duplicate elements | 413 | 10 |
Python sort to the List | 358 | 10 |
Python extend() method for list. | 376 | 10 |
Python append an item in list. | 370 | 10 |
Python List find out the Minimum value | 354 | 10 |
Python pip installation on windows 7 or windows 8. | 421 | 16 |
Python print Current Date and Time. | 431 | 11 |
Python remove element from List. | 386 | 10 |
Comments