filmov
tv
Python program to find second largest number in a list
Показать описание
You know, it becomes quite easy to determine the largest element in every programming language.
In every programming language, you would find the max() function.
But if I ask you to find out the second largest number or element then it becomes tricky. It is not as easy as it sounds.
This video contains the python program to find the second largest number in a list which I have explained step by step.
This question is also one of the most asked Python interview questions hence it is necessary that you watch this video till the end.
I will also tell you how to create a list at runtime by supplying elements from the prompt.
So, stay tuned to the video and subscribe to Joey'sTECH if you haven't already.
*****************************************
To watch more videos on python programming visit my channel Joey'sTech.
*****************************************
Python one-liners
Python Programming
Dynamic programming problems
In every programming language, you would find the max() function.
But if I ask you to find out the second largest number or element then it becomes tricky. It is not as easy as it sounds.
This video contains the python program to find the second largest number in a list which I have explained step by step.
This question is also one of the most asked Python interview questions hence it is necessary that you watch this video till the end.
I will also tell you how to create a list at runtime by supplying elements from the prompt.
So, stay tuned to the video and subscribe to Joey'sTECH if you haven't already.
*****************************************
To watch more videos on python programming visit my channel Joey'sTech.
*****************************************
Python one-liners
Python Programming
Dynamic programming problems