Contact: aviboots(AT)netvision.net.il
41,599 questions
54,241 answers
573 users
import math def is_perfect_square(n): sq = math.sqrt(n) return ((sq - math.floor(sq)) == 0) if (is_perfect_square(36)): print("Yes"); else: print("No"); if (is_perfect_square(20)): print("Yes"); else: print("No"); ''' run: Yes No '''