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
Nesta página do site você pode assistir ao vídeo on-line Python Second Highest Value | sort() function | python programming| python shorts duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Mangesh Bagul 13 Fevereiro 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 485 vezes e gostou 6 espectadores. Boa visualização!