human
Find the Missing Number | getMissingNo takes list as argument.
Driver program to test the above function"
How can the above be solved in Python?
 Give me a code to find the Missing Number and the other steps required?
assistant
#Here is code to find the Missing Number and the other steps required.
 def getMissingNo ( A ) :
	n = len ( A )
	total = ( n + 1 ) * ( n + 2 ) / 2
	sum_of_A = sum ( A )
	return total - sum_of_A
A = [ 1 , 2 , 4 , 5 , 6 ]
miss = getMissingNo ( A )
print ( miss )