Sep-11-2020, 03:02 PM
There isn't really any "logic" in the code you posted, it's just a calculation. Assuming you know what the
**
operator is and how functions work, you should be able to understand how it works (and if you don't understand those things, you'll likely need to study them more).