Need help with Polygon area-calculator

https://replit.com/join/nhgdkplfse-vishalsolanki3
I have written the code for area-calculator but in output it is showing an extra picture of rectangle of 5x10 and is also showing None at end I don’t know why.

Print function prints what is returned by function or method. When function or method doesn’t explicitly return anything, it implicitly returns None. This is the None that is printed at the end. First method prints the rectangle on it own, then the print prints what is returned by the method.