Data Engineering Lab

List Creation & Indexing — Python practice

Q1: Meet list indexing — access employees by position

Understand that every item in a list has a numeric position (index) starting at 0, not 1. Use that index to read specific elements.

Requirements

  • employees = ["Alice", "Bob", "Charlie", "Diana", "Eve"]
  • Print the 2nd employee using its index
  • Print the 4th employee using its index

Enable JavaScript to edit code, run the exercise, and review feedback. Your saved work loads in the existing practice workspace.