Fiona has written a Python program to help Maya calculate geographical statistics. Look at the following line of code from her program:
averageElevation = (peakElevation + valleyElevation) / 2
Give one reason why there are brackets around peakElevation + valleyElevation.
9 exam-style questions on Edexcel IGCSE Computer Science Operators. Each one has a worked solution and a mark scheme showing where the marks go.