An environmental agency is writing a program to assess a woodland's overall health index based on surveys from four distinct sectors.
The health index is adjusted downward if invasive weed patches are detected during the surveys.
Write a Python program to calculate the final health index.
You should assume there are four integer variables called s1, s2, s3 and s4 which have already been assigned values representing the health scores for the four sectors.
The program should:
You should use indentation as appropriate, meaningful variable name(s), and correct Python syntax in your answer.
298 exam-style questions on AQA GCSE Computer Science Programming concepts. Each one has a worked solution and a mark scheme showing where the marks go.