Python Tutorial – Chapter 13 – Classes and Objects

object

In chapter 13 of Python Tutorial, we will learn about Classes and Objects If you are reading this tutorial on Mobile, please rotate your mobile horizontally for best reading experience. You can enable auto-rotate in your phone settings. In previous tutorials, you learnt about built-in data types like dict and list. Do you know that we can define

Python Tutorial – Chapter 12 – Functions

functions

In chapter 12 of Python Tutorial, we will learn about Functions If you are reading this tutorial on Mobile, please rotate your mobile horizontally for best reading experience. You can enable auto-rotate in your phone settings. In any programming language, there will be instances where you may need to execute certain code/task multiple times. So,

Python Tutorial – Chapter 11 – Loops(Part 2) – While Loop

while loop

In chapter 11 of Python Tutorial, we will learn about Loops (Part 2) – While Loop If you are reading this tutorial on Mobile, please rotate your mobile horizontally for best reading experience. You can enable auto-rotate in your phone settings. A while loop iterates over block of code “n” number of times until a

Python Tutorial – Chapter 9 – Python Dictionary (Key : Value Pairs)

Dictionary

In this Chapter 9 of Python Tutorial, we will be learning about Python Dictionary (Key : Value Pairs) If you are reading this tutorial on Mobile, please rotate your mobile horizontally for best reading experience. You can enable auto-rotate in your phone settings. In Python, a dictionary is a data type, which consists of a

Python Tutorial — Chapter 6 — Basic String Operations — Part 1

Chapter 6

In Chapter 6 of Python Tutorial, we will learn about Basic String Operations — Part 1. It is divided into two parts to make it easy for you to understand Welcome to Chapter 6! By now, you must be aware about strings in Python. Strings are text defined between the quotes. We have already seen

Python Tutorials — Chapter 5 — String Formatting

chapter 5

In chapter 5 of Python Tutorial, we will learn about String Formatting Take a look at the below text: “Python is a ___ language” Now, we need to insert a word (variable if we are talking in Python language) in the above text to complete it. Correct? This process of inserting a variable into a

Python Tutorials — Chapter 4 — Basic Operators

chapter 4

In chapter 4 of Python Tutorial, we will learn about Basic Operators An operator is a symbol that performs a certain operation on two operands. Python, like any other programming languages, contains some operators, as listed below. Arithmetic Operators In Python, there are many arithmetic operators such as + (addition), – (subtraction), * (multiplication), /

Python Tutorial — Chapter 3 — Lists — Indexing

chapter 3

In chapter 3 of Python Tutorial, we will learn about Lists Lists, like arrays, can store several items in a single variable. Lists is a built-in data type in Python for storing collections of data. Lists are mutable, which means we can change their elements after they have been formed. The comma (,) and square brackets [enclose

Python Tutorial – Chapter 2 – Variables and it’s Data Types

chapter 2

In chapter 2 of Python Tutorial, we will learn about Variables and it’s Data Types Python is object oriented programming language so every variable that is created is an object. To create a variable, a value has to be assigned to them and Voila! a Variable is created. Here is an example of a variable:

Python Tutorial — Chapter 1 — Print() Function & Indentation

chapter 1

In chapter 1 of Python Tutorial, we will learn about Print function and Indentation In the last tutorial, we learnt about the basic topics of Python language. As mentioned earlier in the previous tutorial, Python is a simple language with a relatively straightforward syntax. Anyone can easily understand the Python code, it is like reading