human
Determine whether the given integer N is a Peculiar Number or not | Function to get sum of digits of a number.
Function to check if the number is peculiar.
Store a duplicate of n.
Driver code"
Solution in Python:

What is a code to determine whether the given integer N is a Peculiar Number or not and the other steps required?
assistant
#Here is code to determine whether the given integer N is a Peculiar Number or not and the other steps required.
 def sumDig ( n ) :
	s = 0
	while ( n != 0 ) :
		s = s + int ( n % 10 )
		n = int ( n / 10 )
	return s
def Pec ( n ) :
	dup = n
	dig = sumDig ( n )
	if ( dig * 3 == dup ) :
		return " Yes "
	else :
		return " No "
n = 36
if Pec ( n ) == True :
	print ( " Yes " )
else :
	print ( " No " )