Computer Science, asked by swathiashok2613, 8 months ago

Write a program to find square and square root of a given number. The program should accept the input from user and displays the results in a separate window in python

Answers

Answered by RoshanMDGCEO
1

Answer:

import math

num=float(input("Enter any number:"))

sqrt=math.sqrt(num)

print("The square root of %0.3f is %0.3f"%(num,sqrt))

Similar questions