Python 3 Tutorial for Beginners #9 - For Loops

preview_player
Показать описание
Hey gang, in this Python tutorial for beginners, I'll explain the basics of a for loop, to cycle through data and perform actions on the data.

----- COURSE LINKS:

---------------------------------------------------------------------------------------------
Other tutorials:

----- NODE.JS TUTORIALS

============== The Net Ninja =====================

================== Social Links ==================

Рекомендации по теме
Комментарии
Автор

If you are reading these comments still, which I doubt you are, these are the best tools i've ever seen for learning Python. I have a Team Treehouse account, a Udemy course, and the book "Python Crash Course", and none come close to explaining to beginners like you do. You are the only one who i've seen explain the for ninja in ninjas example, and why you use the single tense of the list. Well done on you, and thanks for making these lessons free!

lukemaschoff
Автор

I've tried so many tutorials on youtube and this is a the only style that I actually understand. your "teaching language" and style is perfect for us lay people

Themysterywatch
Автор

I had hard time understanding some things about it, but thanks to you; I'm now confident about for loops lol.

jgrit
Автор

Hey, Shaun! Please, could you create a Python OOP course please?

Minecrafter
Автор

what will be the syntax for format strings if i am using 3.4 lower version of python

ninjas = ['ryu', 'monty', 'ken', 'stud ']
for ninja in ninjas:

if ninja == 'ken':
print('{ninja}- blackbelt', .format(ninja))

else:
print(ninja)

can some please help?

ryangates
Автор

I'm using an online compiler. Why am I getting this error?

print(f'{ninja} - black belt')
^
Syntax error: invalid syntax

Graanvlok
Автор

thanks again for these videos. I a watching them all, but just wanna give you feedback. your audio is too low :)

Tay-kyfi
Автор

in javascript there is symbol to increase a number by one which is '++'. Is there anything like it in python?
Thanks for the video anyways

djpybul
Автор

What is the point of putting the f before the print('F{ninja} - black belt') ? Thank you!

KevinTempelx
Автор

This is pretty similar to .Net C# console app

igorr
Автор

much of ur tutorial has a black belt! LOL

weicao
Автор

It doesn't work, it doesn't loop ANYTHING for me.

ubuntujackson