I have just almost finished my assignment and now the only thing I have left is to define the tostring method shown here.
import math class RegularPolygon: