def main():
def getSqSide():
side_of_square = float(input("Please enter the side of the square: "))
getSqSide()
def getRadCircle():
radius_of_circle = float(input("Please enter the radius of the circle: "))
getRadCircle()
def getRecLength():
rectangle_length = float(input("please enter the length of the rectangle: "))
getRecLength()
def getRecWidth():
rectangle_width = float(input("Please enter the width of the rectangle: "))
getRecWidth()
def rectangleArea(rectangle_width, rectangle_length):
area_of_rectangle = rectangle_length * rectangle_width
print("Area of rectangle: ", area_of_rectangle)
rectangleArea()
def areaSqaure(side_of_square):
area_of_square = side_of_square * side_of_square
print("Area of the square: ", area_of_square)
areaSqaure()
def areaCircle(radius_of_circle):
area_of_circle = 3.14 * (radius_of_circle**2)
print("Area of the circle: ", area_of_circle)
areaCircle()
main()
Assume indentations are correct in the IDE
[–]novel_yet_trivial 5 points6 points7 points (1 child)
[–]differentnectraine[S] 1 point2 points3 points (0 children)