* and ** in python example
Example 1: ** in python
#** is the exponent symbol in Python, so:
print(2 ** 3)
#output: 8
Example 2: ** in python
""" depends on the data type too """
def callme(key1, key2):
print(key1, key2)
obj1 ,obj2 = 6, 9
obj3 = {
"key1": 1,
"key2": 2
}
callme(**obj3) # easy for calling functions
print(obj1 ** obj2) # Here it is a operator (for calculating obj1 ^ obj2)