python logic operators code example
Example 1: ** in python
#** is the exponent symbol in Python, so:
print(2 ** 3)
#output: 8
Example 2: or in python
# Syntax for Boolean expression with or in Python
exp1 or exp2
#** is the exponent symbol in Python, so:
print(2 ** 3)
#output: 8
# Syntax for Boolean expression with or in Python
exp1 or exp2