Knowing how to use sqrt()
is only half the battle. Understanding when to use it is the other. Now you’ve seen some of both, so go and apply your newfound knowledge about the Python square root function!
In this course, you’ve covered:
- A brief introduction to square roots
- The ins and outs of the Python square root function,
sqrt()
- A practical application of
sqrt()
using a real-world example
Congratulations, you made it to the end of the course! What’s your #1 takeaway or favorite thing you learned? How are you going to put your newfound skills to use? Leave a comment in the discussion section and let us know.
Patrick Dennis on July 17, 2021
Why do you force one of the operands in a division to be a float? Isn’t that redundant in Python 3.x?