Python For Else Statement - Python Quick Tips

preview_player
Показать описание
This python quick tips video covers the for else block. Explaining what happens when you place an else statement after a for loop.

◾◾◾◾◾
💻 Enroll in The Fundamentals of Programming w/ Python

◾◾◾◾◾◾

⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡


Tags:
- Tech With Tim
- Python Tutorials
- Python For Else Statement
- Python for else
- For else python
- Else after for loop python

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

Hi, don't forget put this series in the playlist. I need to review agian and again until I remember those tips.
Thank you.

qufuzyg
Автор

Hey Tim! Can you make a tip about that syntax please:
def f(*, kwarg_1=1, kwarg_2=2):
pass
I think this is useful syntax which is most of the people dont know. I use that when I am making a class with so many kwargs.

sevcandincel
Автор

s = "Found" if look_for in my_list else "Did not find"
print(s, look_for)

pepehimovic
Автор

Nice explanation! For the second example I would use sets though

schogaia
Автор

Thank you for creating such videos for us, it's really good and informational from beginners perspective, love from india♥️

arrongamer
Автор

İ love the series so far but... İ thought this video was about enumerator functions? But says that video is not available.
Anyways, thanks for keeping us up date with your quick tips :)

sadiqabbaszade
Автор

Very cool tip but in which situations is it most practical to use a for else statement?

pepehimovic
Автор

Hey Tim, i love your videos and i have a question for you!
I watched your video on NEAT, i found it very interesting BUT i cant get it to become good enough. Where can i read more about how to properly train my AI, what method works for what game type and so on? (I cant find anything on stack overflow ;( )

Thank you!

bonniedean
Автор

Why not just contain the else statement within the for loop, feels like its just a different but equivalent wayt to write an if/else

gudmundurjonsson
Автор

we need more competitive programming video

technoinfoworldwide
Автор

hi Tim, what sublime package is that? To run python files with a shortcut and get the output window at the bottom.
And if you can recommend any other useful sublime packages for python that are handy I would appreciate it! :)

choOz