WAP in Python to find the square of any number.
Share
WAP in Python to find the square of any number.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
import math
number = int(input("enter a number:"))
sqrt = math.pow(number, 0.5)
print("square root: ", sqrt)
[use this code to find square root in python MARK me as BRAINLIEST and I will follow you and like your answers]
Answer:
Hey this is in python...
function square(num):
return num**2
n = int(input("Enter a number: "))
print("Square = ", square(n))