1import math
23# Taking the input from user4number = int(input("Enter the Number"))
56root = math.sqrt(number)
7ifint(root + 0.5) ** 2 == number:
8print(number, "is a perfect square")
9else:
10print(number, "is not a perfect square")
you will get a confirmation link on this - you will have to click that for successful submission of your answer. we require this to keep the website free of spam, bots and unhelpful content
please ensure to add code which is syntactically corrent and executes properly
you will get a confirmation link on this - you will have to click that for successful submission of your question. we require this to keep the website free of spam, bots and unhelpful content