why is this done this way
(monty = True
python = 1.234
monty_python = python ** 2)
I am new to this but very interested and trying to learn as much as I can without going to a school.
why is this done this way
(monty = True
python = 1.234
monty_python = python ** 2)
I am new to this but very interested and trying to learn as much as I can without going to a school.
**
is pythons way of representing to to the power:
# the maths approach
2 ^ 2
# the python approach
2 ** 2