Computer Science, asked by rajesh70445, 8 months ago

write a python program to print square root of every alternative number 1 to 10 range

Answers

Answered by chitranjanraj785
4

Explanation:

How to Find Square Root in Python

Using Exponent. number = int(input("enter a number: ")) sqrt = number ** 0.5 print("square root:", sqrt) ...

Using math.sqrt() Method. import math number = int(input("enter a number:")) sqrt = math.sqrt(number) print("square root:" , sqrt) ...

Using math.pow() Method

Similar questions