Answers for "square and square root in python"

17

python square root

import math
a = input("what do you wnat to square root")
print(math.sqrt(a))
Posted by: Guest on July-09-2020
0

Square a number in python

n = 5
result = pow(n, 2)
print(result)
Posted by: Guest on November-15-2021

Python Answers by Framework

Browse Popular Code Answers by Language