square root in python w3schools code example Example: square root python 3 import math print(math.sqrt(589485))