human
Program to find last two digits of 2 ^ n | Find the first digit.
Get the last digit from the number.
Remove last digit from number.
Get the last digit from the number ( last second of num ).
Take last digit to ten 's position  i.e. last second digit.
Add the value of ones and tens to make it complete 2 digit number.
return the first digit.
Driver Code.
pow function used"
How can the above be solved in Python?
assistant
#Here is code to program to find last two digits of 2 ^ n and the other steps required.
 def LastTwoDigit ( num ) :
	one = num % 10
	num //= 10
	tens = num % 10
	tens *= 10
	num = tens + one
	return num
if __name__ == " _ _ main _ _ " :
	n = 10
	num = 1
	num = pow ( 2 , n ) ;
	print ( " Last ▁ " + str ( 2 ) + " ▁ digits ▁ of ▁ " + str ( 2 ) + " ^ " + str ( n ) + " ▁ = ▁ " , end = " " )
	print ( LastTwoDigit ( num ) )