Many of us who are familiar with programming languages like C, C++ etc. will have an answer like “String is a collection or array of characters.”

Well in Python also, we say the same definition for String data type. String is array of sequenced characters and is written inside single…

Python is an object-oriented language and almost every entity in Python is an object, which means that programmers extensively use classes and objects while coding in Python. Objects in Python are basically an encapsulation of Python variables and functions, that they get from classes.

What Are Classes and Objects in Python?

A class is simply a logical…

Flex means flexible box.

The flex CSS property specifies how a flex item will grow or shrink so as to fit the space available in its flex container.”

So overall flex provides you the way to make your content flexible/responsive according to your view, you can position your elements upside…

Before discussing slice notation, we need to have a good grasp of indexing for sequential types.

In Python, list is akin to arrays in other scripting languages(Ruby, JavaScript, PHP). …

Pawan Kumar Maurya

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