human
Number of n digit numbers that do not contain 9 | function to find number of n digit numbers possible.
driver function"
How can the above be solved in Python?
assistant
#Here is code to number of n digit numbers that do not contain 9 and the other steps required.
 def totalNumber ( n ) :
	return 8 * pow ( 9 , n - 1 ) ;
n = 3
print ( totalNumber ( n ) )