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
En esta página del sitio puede ver el video en línea Python Second Highest Value | sort() function | python programming| python shorts de Duración hora minuto segunda en buena calidad , que subió el usuario Mangesh Bagul 13 febrero 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 485 veces y le gustó 6 a los espectadores. Disfruta viendo!