This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies Find out more here

## PHP Logical Operators

Logical operators operate on conditional statements(these are based on conditions) or expressions. Logical operators supported by PHP are And, Or, Xor,&&,||,!. Read More

## PHP Assignment Operators

PHP Assignment operators in PHP are used to create and initialize a variable. The most basic assignment operator is the (=) sign, which you can use to assign and update the value of variables. The lefthand side of a variable is always variable, and the right hand can be literal, complex expression, simple variable or function. Assignment operators supported by PHP are Assign(=),Add then assign(+=),Subtract then assign(-=),Multiply then assign(*),divide then assign(/=). Read More

## PHP Arithmetic Operators

The arithmetic operators are operators we see commonly in everyday use. Apart from arithmetic negation and arithmetic assertion operators, most Arithmetic operators are binary. PHP provides plenty of mathematical functions for basic calculations and conversions, calculating logarithms, square roots, geometric values, etc. Read More

## PHP Operators

PHP operators perform mathematics operations on variables, manipulation of strings, and comparison of data types and logical operations like (and, or, etc.). PHP Operators take different numbers of operands. Binary operators take two expressions and produce a single expression, while Unary operators take one operand. PHP Operators take different numbers of operands. Binary operators take two expressions and produce a single expression, while Unary operators take one operand. Read More

## Python Membership Operators

Python membership operators check whether the given operand is present in the sequence/series type object(list, tuple, etc.). It returns the True value if the operand is present in that sequence; else, it returns False. in and not in are the two membership operators provided by Python. Read More

## Python Logical Operators

Python Logical Operators take two conditional expressions as operands and return the logical operation as a result. Read More

## Python Assignment Operators

Python Assignment operators assign values to variables. The right operand's value is assigned to the left operand. Like A = 44 Here, A is assigned. Read More

## Python Comparison Operators

Python Comparison operators compare the two operands on both sides. If the comparison is successful or equal, Boolean value True is returned. While the comparison fails, Boolean value False is returned.When comparing two numeric type operands, the trailing zeros after the decimal point are truncated; Read More

## Python Arithmetic Operators

Python Arithmetic Operators perform the usual arithmetic operations like addition, subtraction, multiplication, division, etc. In python, arithmetic operators are in three forms. Read More

## PHP range() Function

The range() function returns an array of consecutive character values or integers between and including the two values that are passed as parameters. Read More