Skip to content
Solution Class List
  • Pages
    • Solution
    • The Task
    • icon picker
      Python Starter Code
    • Code Clips

Python Starter Code

Copy and paste the code below into your main.py file before you begin the task.
# array of strings used to store list of pupil names
classList = ['Robby Keene', 'Tory Nichols', 'Eli Moskowitz', 'Miguel Diaz', 'Demetri Alexopoulos', 'Samantha LaRusso', 'Devon Lee', 'Kenny Payne', 'Moon']

# display a blank line
print('\n')

# display the 1st pupil

# display the last pupil


# display pupil at the position input by user



# display first 5 pupils

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