Back to Browse

Python for loop: How to easily iterate over collections of items

3.2K views
Sep 21, 2020
5:58

If you have a collection of items in Python, like a list or a dictionary, Python's "for" construction lets you loop through it easily and work with each element in turn. Learn the basics, and avoid a few of the pitfalls, in this video. Follow TECH(talk) for the latest tech news and discussion! ------------------------------­---- SUBSCRIBE: http://www.youtube.com/subscription_center?add_user=idgtechtalk FACEBOOK: https://www.facebook.com/idgtechtalk/ TWITTER: https://twitter.com/IDGTechTalk IDG ENTERPRISE WEBSITES Computerworld: https://www.computerworld.com/video/series/8529/tech-talk CIO: https://www.cio.com/video/series/8534/cio-leadership-live CSO: https://www.csoonline.com/video/series/8607/windows-security-tips InfoWorld: https://www.infoworld.com/video/series/8563/do-more-with-r Network World: https://www.networkworld.com/video/series/8559/2-minute-linux-tips

Download

1 formats

Video Formats

360pmp47.2 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Python for loop: How to easily iterate over collections of items | NatokHD