Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
L68: Functional programming | part 1 | iterators, generators, & yield
Play lesson

Programming in Python - L68: Functional programming | part 1 | iterators, generators, & yield

4.0 (1)
12 learners

What you'll learn

This course includes

  • 23 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

Welcome to Lecture 68 of the course "Programming in Python" by Prof. Sudarshan Iyengar. Full Course: https://study.iitm.ac.in/ds/course_pages/BSCS1002.html Video Overview In this lecture we dive into the world of functional programming in Python by exploring iterators and generators. We begin with a familiar for loop example and highlight its limitations when simulating real world scenarios where a pause or delay is required between iterations. You will then learn how Python’s iterator feature provides fine grained control over the iteration process mimicking real life interactions. Next we introduce generators a powerful tool that allows you to create iterators on the fly without pre creating lists. Key concepts such as iter() next() and the significance of the yield keyword in defining generators are explained in detail. This lecture sets the foundation for advancing your functional programming skills in Python. About IIT Madras' online Bachelor of Science programme IIT Madras offers four year BS programmes that aim to provide quality education to all irrespective of age educational background or location. The BS programme has multiple levels which provide flexibility to students to exit at any of these levels. Depending on the courses completed and credits earned the learner can receive a Foundation Certificate from IITM CODE (Centre for Outreach and Digital Education), Diploma(s) from IIT Madras or BSc/BS Degrees from IIT Madras. For more details Visit: https://www.iitm.ac.in/academics/study-at-iitm/non-campus-bs-programmes #Python #FunctionalProgramming #Iterator #Generator #Iterators #Generators #Yield #Iter #Next #PythonTutorial #PythonProgramming #Programming #Coding #DataStructures #ForLoop #Iterable #ProgrammingConcepts #AdvancedPython #PythonForBeginners #PythonForDataScience #LearnPython #CodeWithPython #PythonCourse

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere