human
Check if two Integer are anagrams of each other | Function that returns true if a and b are anagarams of each other.
Converting numbers to strings.
Checking if the sorting values of two strings are equal.
Driver code"
Solution in Python:
 Give me a code to check if two Integer are anagrams of each other and the other steps required?
assistant
#Here is code to check if two Integer are anagrams of each other and the other steps required.
 def areAnagrams ( a , b ) :
	a = str ( a )
	b = str ( b )
	if ( sorted ( a ) == sorted ( b ) ) :
		return True
	else :
		return False
a = 240
b = 204
if ( areAnagrams ( a , b ) ) :
	print ( " Yes " )
else :
	print ( " No " )