human
Triangular Matchstick Number | Python program to find X - th triangular matchstick number.
Driver code"
How can the above be solved in Python?
 Give me a code to triangular Matchstick Number and the other steps required?
assistant
#Here is code to triangular Matchstick Number and the other steps required.
 def numberOfSticks ( x ) :
	return ( 3 * x * ( x + 1 ) ) / 2
print ( int ( numberOfSticks ( 7 ) ) )