For | Definite Loops in Python

Publicado el: 26 junio 2021
en el canal de: SnekCato
482
38

Do you know the difference between while and for loops? If not, don't worry, I got you.

Do you like Horror games? Follow me on Twitch! :   / snekcato  
Join our community of tech catos :   / discord  

Code used in this video

friends=["JoJo","BoJack","Shrek"]
for name in friends:
print ("Hello",name)

farts=[1,2,3,1,2,3,100]
sum=0
length=0
for number in farts:
sum+=number
length+=1
print ("Average farts per week:", str(sum/length))


#vtuber #python #programming #mexicanvtuber

Timestamps
0:00 Intro
0:12 For loops definition
1:20 Task using for loops
1:38 Task solution
3:43 Diference between for and while loops
4.07 Thanks for watching!


En esta página del sitio puede ver el video en línea For | Definite Loops in Python de Duración hora minuto segunda en buena calidad , que subió el usuario SnekCato 26 junio 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 482 veces y le gustó 38 a los espectadores. Disfruta viendo!