logical operators in python examples
Example 1: or in python
# Syntax for Boolean expression with or in Python
exp1 or exp2
Example 2: ** in python
# ** means modulus. or exponent
x = 6
y = 2
print(x**y) # will print 6 raised to power 2
# Syntax for Boolean expression with or in Python
exp1 or exp2
# ** means modulus. or exponent
x = 6
y = 2
print(x**y) # will print 6 raised to power 2