Develop a subroutine that calculates the resource extraction progress of a mining drone on an asteroid survey grid.
The subroutine should:
surveyGrid as a parameter'X' in the grid)'R') are left and:
'Fully depleted''Resources low'131 exam-style questions on AQA GCSE Computer Science Structured programming and subroutines (procedures and functions). Each one has a worked solution and a mark scheme showing where the marks go.