human
Give me a code to sum of product of r and rth Binomial Coefficient ( r * nCr ) and the other steps required given the following:
Sum of product of r and rth Binomial Coefficient ( r * nCr ) | Return summation of r * nCr.
Driver Code"
Solution in Python:
assistant
#Here is code to sum of product of r and rth Binomial Coefficient ( r * nCr ) and the other steps required.
 def summation ( n ) :
	return n << ( n - 1 ) ;
n = 2 ;
print ( summation ( n ) ) ;