human
Last digit of Product of two Large or Small numbers ( a * b ) | Function to print the last digit of product a * b.
Driver code"
Solution in Python:
assistant
#Here is code to last digit of Product of two Large or Small numbers ( a * b ) and the other steps required.
 def lastDigit ( a , b ) :
	lastDig = ( ( int ( a [ len ( a ) - 1 ] ) - int ( '0' ) ) * ( int ( b [ len ( b ) - 1 ] ) - int ( '0' ) ) )
	print ( lastDig % 10 )
if __name__ == ' _ _ main _ _ ' :
	a , b = "1234567891233" , "1234567891233156"
	lastDigit ( a , b )