Skip to content

How to do a square root in Python?

from math import * # We import the math module
print(sqrt(16)) # We print the square root of the number 16
See also  How to get the system time in Python?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.