human
Surd number | define a isSurd function which Returns true if x is Surd number ..
Try all powers of i.
Driver code"
How can the above be solved in Python?

=====
What is a code to surd number and the other steps required?
assistant
#Here is code to surd number and the other steps required.
 def isSurd ( n ) :
	i = 2
	for i in range ( 2 , ( i * i ) + 1 ) :
		j = i
		while ( j < n ) :
			j = j * i
		if ( j == n ) :
			return False
	return True
if __name__ == " _ _ main _ _ " :
	n = 15
	if ( isSurd ( n ) ) :
		print ( " Yes " )
	else :
		print ( " No " )