Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/u797631661/domains/codermantra.com/public_html/wp-content/plugins/quiz-maker/includes/class-quiz-maker-data.php on line 1199

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 7 – CoderMantra

Tuple in Python

In this easy tutorial, we will learn about Tuple in Python. Here, we will discuss how to create, access, slice, insert, update and delete elements from Python Tuple with example. A Tuple in Python is a sequence of different objects, different objects mean different types of data can be store in a Tuple. The Tuple…

Read More »

List in Python

In this tutorial, we will learn about the list in Python. We will discuss how to create, slice, insert, update and remove an element from Python list with example. What is the List The List is a sequence data type in Python. The List can store different types of data. The List can have any…

Read More »

Python – Break, Continue & Pass

In this tutorial, we will learn about the break, continue and pass statements in Python. These statements are also known as loop control statements and can alter the normal flow of a loop. Python Break Statement Suppose you have an assignment to find a specific number in a given range. When your code finds that…

Read More »

Python – For Loops

The for loop in Python is different from other programming languages like C and Java. A for loop in Python is used to iterate over a sequence or a collection (list, tuple, dictionary, etc.). Syntax of For Loop In the above for loop syntax, the variable takes the next value from sequence until the last…

Read More »

Python – While Loop

Loops in Python Language is used to repeat a block of code for several times until a specific result is obtained. Suppose you have to print your name several times, instead of printing multiple lines you can use loops. Python has two types of loops. While Loop For Loop The While Loop in Python The…

Read More »

Python – If Else, Decision Making

In this tutorial, we will learn about the conditional statements for decision making in Python. In Python, to check the condition, the if-else statement is used. The if-else statement in Python, helps the interpreter to execute the instructions based on the given condition. Different forms of the if-else statement are given below. if if-else if-elif-else…

Read More »

Python – Print

In this tutorial, we will learn about print() function in Python. It is used to print specific data as the output on the screen or output device. You can print a Text, number, variable or an object in Python using a print() method. Print Example in Python The print object can be a string or…

Read More »

Python – Input

In this Python tutorial, we will learn how to accept user input in Python. Python has a rich set of built-in functions, in this tutorial we will discuss one of them, input() function for input operation. Python Input Function Python 3 has a built-in function input(), to accept keyboard input. The input() method reads a…

Read More »