Question: Please in Python Area of an Octagon (15 points) Write a program that prompts the user to enter the side of an octagon and displays
Area of an Octagon (15 points) Write a program that prompts the user to enter the side of an octagon and displays its area. The area of an octagon is A = 2 (1 + V2)s?, where s is the side of an octagon. Assume that the side entered is positive, and do not import the math module (or use any predefined functions) Sample output is shown below: Enter the side length of the octagon: 5.5 The area of an octagon with side length 5.5 is 146.05992052357223
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
