human
Apocalyptic Number | Function to check if a number N is Apocalyptic.
Given Number N.
Function Call"
How can the above be solved in Python?

=====
Write me a code to apocalyptic Number and the other steps required?
assistant
#Here is code to apocalyptic Number and the other steps required.
 def isApocalyptic ( n ) :
	if '666' in str ( 2 ** n ) :
		return True
	return False
N = 157
if ( isApocalyptic ( 157 ) ) :
	print ( " Yes " )
else :
	print ( " No " )