Computer Science, asked by priyadagar948, 2 months ago

write a program to input a no and print its square root

Answers

Answered by Kuku01
0

Explanation:

SqRoot_Usr.py

  • import math # im port m ath module.
  • a = int(in put("Enter a number to get the Square root")) # take an input.
  • res = math. sqrt( a) # Use math. sqrt() function and pa ss the variable a.
  • pri nt("Square root of the num ber is", res) # print the Squa re Root.
Similar questions