Program to find the square root of a number.

In this python basic program, we will find the square root of a number defined by the user.

Steps to solve the program
  1. Import math library.
  2. Take a number as input.
  3. Find the square root of the number using math.sqrt().
  4. Print the output.
				
					import math 
num1 = 9

print(math.sqrt(num1))
				
			

Output :

				
					3.0
				
			

Program to find LCM

calculate the volume of a sphere.

Leave a Comment