Skip to content
MathsGenie logo
Open app

Course home

  1. IGCSE
  2. Computer Science Edexcel
  3. Question bank

Develop code

EasyMediumHard
123456789101112131415161718192021222324252627
Question 12

A programmer is writing a Python program to display a list of multipliers from 1 to 5 inclusive, alongside each multiplier multiplied by 10.

The following code contains three errors that prevent it from running correctly or producing the expected output.

for counter in range(1, 6)
    multiplied = Counter * 10
    print("Multiplier:", count, "Value:", multiplied)

Identify the three errors in the code and write the corrected line for each.

[3]

Develop code Questions

  1. IGCSE
  2. /Computer Science
  3. /Develop code