Python list comprehension along with examples

In this article, We are going to learn how list comprehension works along with its examples. So basically Python List comprehension is a simple and elegant way of creating a list in python. It returns us a new list after performing specified operation on each element of iterable (List or sequence). List comprehension requires a … Read more Python list comprehension along with examples

Variables and Data types in python

Variables in Python: Variables are the reserved memory locations to store the data. Which means for each variable in your program, separate memory location is reserved. As soon as you assign some value to the variable in you program, python interpreter utilizes the reserved memory space of that variable. But how much memory to be … Read more Variables and Data types in python