human
Increment a number without using ++ or + | function that increment the value ..
Invert bits and apply negative sign.
Driver code"
How can the above be solved in Python?
assistant
#Here is code to increment a number without using ++ or + and the other steps required.
 def increment ( i ) :
	i = - ( ~ ord ( i ) ) ;
	return chr ( i ) ;
n = ' a ' ;
print ( increment ( n ) ) ;