Computer Science, asked by soniabudhathoki, 5 hours ago

write a program to print the square root of p

p=64​

Answers

Answered by tajindersinghrehan71
0

#theprogram written below is in python language

#theprogram written below is in python languageimport cmath

#theprogram written below is in python languageimport cmathp=64

#theprogram written below is in python languageimport cmathp=64q=cmath.sqrt(p)

#theprogram written below is in python languageimport cmathp=64q=cmath.sqrt(p)print(q)

#theprogram written below is in python languageimport cmathp=64q=cmath.sqrt(p)print(q)And

#theprogram written below is in python languageimport cmathp=64q=cmath.sqrt(p)print(q)And a=int(input("enter number "))

#theprogram written below is in python languageimport cmathp=64q=cmath.sqrt(p)print(q)And a=int(input("enter number "))b=a0.5

#theprogram written below is in python languageimport cmathp=64q=cmath.sqrt(p)print(q)And a=int(input("enter number "))b=a0.5print(b)

Answered by aj200260
0

Answer:

import math

p= 64

sq = math.sqrt(p)    

print("Square root of the",p," is", sq)

PLEASE MARK ME AS BRAINLIEST

THANK YOU!

Similar questions