Программа:
Python:
from math import sqrt
n = int(input())
n1 = int(sqrt(n))
print('ДА' if n == n1**2 else 'НЕТ')
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
Программа:
Python:
from math import sqrt
n = int(input())
n1 = int(sqrt(n))
print('ДА' if n == n1**2 else 'НЕТ')