human
Largest and Smallest N | Function to return the largest N - digit number in Hexa - Decimal Number System.
Append ' F ' N times.
Function to return the smallest N - digit number in Hexa - Decimal Number System.
Append '0' ( N - 1 ) times to 1.
Function to print the largest and smallest N - digit Hexa - Decimal number.
Driver code"
How can the above be solved in Python?
 What is a code to largest and Smallest N and the other steps required?
assistant
#Here is code to largest and Smallest N and the other steps required.
 def findLargest ( N ) :
	largest = ' F ' * N
	return largest ;
def findSmallest ( N ) :
	smallest = '1' + '0' * ( N - 1 )
	return smallest ;
def printAns ( largest ) :
	print ( " Largest : ▁ " , findLargest ( largest ) ) ;
	print ( " Smallest : ▁ " , findSmallest ( largest ) ) ;
if __name__ == " _ _ main _ _ " :
	N = 4 ;
	printAns ( N ) ;