equal operator in python code example
Example 1: python exponent operator
#python exponent operator
num = 2
new_num = num**2
#answer would be 4
Example 2: not equal to in python
>>> 'ABC' != 'ABC'
False
>>> 1 != 1
False
>>> {1: None, 2: None} != 10
True
>>> 1 != 1.0
False