Technology Enthusiast | Loves Humor | Hobby Runner | Avid Reader

The basic introduction to Python’s Generator Function and Generator Expression.

Photo by Jason Blackeye on Unsplash

In one of my previous articles, I briefly discussed the concept of Generator Expressions, in this one we are going to explore Generators in detail.

Before moving ahead, make sure you are familiar with some basic terms,

  • Iteration is the process of repeating a block of code for a certain…

A comprehensive guide to Python’s Comprehension capabilities.

Image by author

To understand Python’s Comprehension capabilities, it’s important to understand the concept of comprehension at first. Comprehension in programming is nothing but writing the (existing) code in a short and concise manner, mostly one single line. It is constructing a new sequence by shortening the existing one. Being good at code…

Iffat Malik Gore

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store