human
All about Bit Manipulation | Function to clear the ith bit of the given number N.
Create the mask for the ith bit unset.
Return the update value"
How can the above be solved in Python?

Can you provide a code to all about Bit Manipulation and the other steps required?
assistant
#Here is code to all about Bit Manipulation and the other steps required.
 def clearBit ( num , i ) :
	mask = ~ ( 1 << i )
	return num & mask