Skip to content
Debug 2.3. Spelling with starter code
  • Pages
    • The Task
    • icon picker
      Python Starter Code
    • CodeClips

Python Starter Code

Copy and paste the code below into your main.py file before you begin the task.

# declare and initialise variables
pupilName = 'Max Myles'
age = 15
school = 'Hawkins High School'

# prints blank line
print('\n')
# display welcome message
print('Welcome to' + school)
print('================================')
# prints blank line
print('\n')

# display pupil details
print('Pupil name: ' + pupilname)
print('Pupil age: + age')

# prints blank line
print('\n')

 
Want to print your doc?
This is not the way.
Try clicking the ··· in the right corner or using a keyboard shortcut (
CtrlP
) instead.