human
Give me a code to subtract 1 without arithmetic operators and the other steps required given the following:
Subtract 1 without arithmetic operators | ''Driver code"
How can the above be solved in Python?
assistant
#Here is code to subtract 1 without arithmetic operators and the other steps required.
 def subtractOne ( x ) :
	return ( ( x << 1 ) + ( ~ x ) ) ;
print ( subtractOne ( 13 ) ) ;