WAP to get second highest value
from the list.
data = [1,2,8,3,12]
Code:
ldata = [1,2,8,3,12]
data.sort()
print("second highest value: ",data[-2])
while count length:
print(n1)
nth = n1+n2
n1 = n2
n2 = nth
count += 1
output:
second highest value: 8
new video for python programming
python code for problem solving approach.
python for beginners
learn python in simple way.
first clear basic concepts.
solve more problems and consistent practice.
for loop in Python Program
python programming for beginners
python programming examples
python for loop
learn python
#shorts #ytshorts #pythonprogram #tutorial #education #learning #python programmer #python
instagram: / mangeshbagul15
Sur cette page du site, vous pouvez voir la vidéo en ligne Python Second Highest Value | sort() function | python programming| python shorts durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Mangesh Bagul 13 février 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 485 fois et il a aimé 6 téléspectateurs. Bon visionnage!