Python Operators

Python Operators in general are used to perform operations on values and variables. These are standard symbols used for the purpose of logical and arithmetic operations. In this article, we will look into different types of Python operators. Arithmetic Operators Arithmetic python operators are used to performing mathematical operations like addition, subtraction, multiplication, and division. …

Python Operators Read More »

Boolean in Python

Booleans are operators that allow you to convey true or false statements. These are very important later on when we deal with control flow statements and logic. When you compare two values, the expression is evaluated and Python returns the boolean. O/P – bool When you run a condition in an if statement, Python returns …

Boolean in Python Read More »

Python String Formatting

String Formatting lets you inject items into the string rather than chain items together using commas or string concatenation Way of string formatting The oldest method involves placeholders using the modulo % characterAn improved technique uses the .format() string methodThe newest method, introduced with python 3.6 uses formatted string literals called f string Please read …

Python String Formatting Read More »

Python String

In this tutorial, you will learn how to wire, format, modify and delete strings in pythons. and also you will be introduced to various string operations and tasks. The string is sequences of characters, using the syntax of either single or double or triple quotes.The string is an array of bytes representing Unicode characters. However, …

Python String Read More »