Text Parsing using Python

Job ID: 33687198

Budget: £10 – £15 GBP

Parsing a text file and scanning the text by indexes to find pattern.
Pattern is to find boundaries seperating polygons.
There's an incomplete code doing this but fails to get 2D array.
Please find the attached script and input text.

Expected output is to get 2D array where each item is the boundaries of the each polygon.

Deadline: 15th May 2022 11PM GMT
Related categories: Python Programming