Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the quiz-maker domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u797631661/domains/codermantra.com/public_html/wp-includes/functions.php on line 6121
S. Shekhar – Page 6 – CoderMantra

Python OOPS – Object Oriented Programming System

Like other modern programming languages, Python is also an object-oriented programming (OOP) language. Oops is a modern concept to solve a problem by creating an object and a class. There are some features of an object-oriented programming language such as Object, Class, Inheritance, Abstraction, Polymorphism, and Encapsulation. We will discuss these features of oops step…

Read More »

Python File Handling

In this Python file handling tutorial, we will learn how to create, open, read, write and close the file. In this tutorial, we will discuss in detail about reading and write text file as well as a binary file also with the example. What is a File? A file is a container, which can contain…

Read More »

Python Exception Handling

In this tutorial, we will learn about exception handling in Python. We will also discuss some important keywords like try and except in Python for exception handling. What is an Exception? The exception is an abnormal condition, which occurs during program execution and terminates the flow of a program. Python exception can be ZeroDivisionError, TypeError…

Read More »

Module in Python

In this tutorial, we will learn about the module in Python. Here we will learn how to create, import and use of built-in modules in Python. What is a Module The Python module is considered as a library file and it contains Python code with .py extension. It can contain classes, functions and variables. We…

Read More »

Function in Python

Suppose we are creating an application and we need to write some fixed code regularly, instead of writing every time, we can create a function and call whenever required. in this tutorial, we will learn how to create, define, and call a function in Python. What is a Function A function is a block of…

Read More »

String in Python

In this, string in Python tutorial we will learn how to create, access, format, update and delete strings. What is a String The String is a sequence of characters, also known as the text. Each character of the string has a unique index number starting from zero (0). Negative indexing is also possible in Python,…

Read More »

Set in Python

In this Python tutorial, we will learn about sets. Here we will discuss, how to create, update, delete and other operations performed on set in Python. What is a Set A set is an unordered collection of objects. A set is an unindexed collection in Python. Each element in the set is unique. Set is…

Read More »

Dictionary in Python

In this tutorial, we will learn about the dictionary in Python. Here we will have many examples to create, insert, update and delete an element from the dictionary. What is a Dictionary It is an unordered collection of elements. Each element in the Dictionary has key and value. Key and value pairs are separated with…

Read More »