From the given image below complete the following given task:
Assign the number (1 to 4) below the image of the rectangle with respect to its length inside the rectangle. The shorter the line lower the number (No need to reorder the image of the rectangle, only give numbering)
Align (make the rectangle image straight) all the given images of the rectangle.
Make 2 python files with the names rectangle_numbering.py and rectangle_alignment.py. Place your Task 1 and Task 2 code there.