Frequently Asked Python Program 17: Multiply All Numbers in the List

preview_player
Показать описание
Topic : Multiply All Numbers in the List

#########################
Udemy Courses:
#########################

Manual Testing+Agile with Jira Tool
************************************

Selenium with Java+Cucumber
********************************

Selenium with Python & PyTest
********************************

Selenium with python using Robot framework
****************************************

API Testing(Postman, RestAssured & SoapUI)
*****************************************

Web & API Automation using Cypress with Javascript
********************************************

Playwright with Javascript
**************************

Jmeter-Performance Testing
************************

SDET Essencials(Full Stack QA)
*************************

Appium-Mobile Automation Testing
************************************

Java Collections
*****************

Python Programming
*********************

Cucumber BDD Framework
***************************

Protractor with Javascript
***************************

####################################
Youtube Playlists:
####################################

Manual Testing & Agile
***********************

SQL
*************************

linux & Shell Scripting
**********************

Java
**********************

Selenium With Java+Cucumber
********************************

Python
********************************

Selenium With Python,Pytest&Behave
***************************************

Selenium With Python Using Robert Framework
(Web&API Testing)
*************************************************

API Testing (Postman,SoapUi,&Rest Assured)
**********************************************

Mobile App Testing Appium
****************************

Performance Testing Jmeter
*******************************

Maven,Jenkins,Git,Github,CI/CD
*******************************

SQL,DB Testing&ETL,Bigdata
*******************************

JavaScript Based Automation Tools
********************************

Selector Hub Tools
********************

GraphQL
******************

Cypress API Testing
********************

Cypress Web Testing
**********************

Playwright with Javascipt
**************************

#PythonMultiplication
#ListMultiplication
#MultiplyListNumbers
#ListProduct
#PythonListOps
#CodingChallenge
#PythonBasics
#PythonProgramming
#ListManipulation
#PythonArrays
#AlgorithmPractice
#CodeSnippet
#ProgrammingTips
#LearnPython
#PythonTricks
#CodingCommunity
#TechEducation
#ProblemSolving
#CodeItOut
#ProgrammingLogic
#PythonForBeginners
#CodingSolutions
#CodeInPython
#ListComputation
#AlgorithmDesign
#PythonAlgorithms
#DataManipulation
#TechInterview
#CodeExamples
#PythonCoding
#CSFundamentals
#PythonListOps
#CodingJourney
#PythonPractice
#SoftwareEngineering
#CodeMastery
#LearnToCode
#PythonTips
#ProgrammingKnowledge
#AlgorithmExplained
#ListProcessing
#PythonSnippets
#ProgrammingCommunity
#PythonTricks
#CodeLearning
#ProblemSolvingSkills
#CodingInspiration
#PythonExplained
#CodeChallenge
#AlgorithmicThinking
Рекомендации по теме
Комментарии
Автор

this could also be considered the factorial of a number using lists:

arr = [1, 2, 3, 4, 5]

def adding(arr, i, mul):
if i >= len(arr):
return mul
mul *= arr[i]
return adding(arr, i+1, mul)
print(adding(arr, 0, arr[0]))



def factorial(n):
if n < 2:
return n
return n * factorial(n-1)
print(factorial(5))

kvelez
Автор

you have cleared my many doubts in your videos. I'm very thankful to you

sanketkhandare
Автор

such a good video. Helped me complete a USACO problem.

joegodindata
Автор

Import math
L1=[3, 2, 4]
Print(math.prod(L1))

visionstatus
Автор

Can you make a video on how to subtract a number from available list value

shoaibs
Автор

# i am struggling to get printed the maximum value from the result .
could you please help me?

def khalid():

li = database1
mp = database2

for i in range(1, len(li)):
if i > 0:
for p in range(1, len(mp)):
if p > 0:
sr = pd.Series(li[i]-mp[p-1])

result = sr[[sr.idxmax()]]
print ([result])
khalid()

khalidwithyoutub