human
Program to find the Perimeter of a Regular Polygon | Function to calculate the perimeter.
Calculate Perimeter.
driver code.
Get the number of sides.
Get the length of side.
find perimeter"
How can the above be solved in Python?

Give me a code to program to find the Perimeter of a Regular Polygon and the other steps required?
assistant
#Here is code to program to find the Perimeter of a Regular Polygon and the other steps required.
 def Perimeter ( s , n ) :
	perimeter = 1
	perimeter = n * s
	return perimeter
if __name__ == ' _ _ main _ _ ' :
	n = 5
	s = 2.5
	peri = Perimeter ( s , n )
	print ( " Perimeter ▁ of ▁ Regular ▁ Polygon ▁ with " , n , " sides ▁ of ▁ length " , s , " = " , peri )