human
Find number of diagonals in n sided convex polygon | ''Python3 program to find number of diagonals in n sided convex polygon.
''driver code to test above function"
Solution in Python:

=====
What is a code to find number of diagonals in n sided convex polygon and the other steps required?
assistant
#Here is code to find number of diagonals in n sided convex polygon and the other steps required.
 def numberOfDiagonals ( n ) :
	return n * ( n - 3 ) / 2
def main ( ) :
	n = 5
	print ( n , " ▁ sided ▁ convex ▁ polygon ▁ have ▁ " )
	print ( numberOfDiagonals ( n ) , " ▁ diagonals " )
if __name__ == ' _ _ main _ _ ' :
	main ( )