Back to Lesson

CSV Processing

Break apart delimited structures utilizing split.

Instructions

  • Given
    csv_line = "Alice,30,Engineer,New York"
    .
  • Split the line into a list using the comma
    ,
    as the delimiter.
  • Check if
    "Engineer"
    is in the resulting list, and if so, print
    "Found engineer"
    .
main.py
main.py