Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Building and Modifying Lists in Python

via CodeSignal

Overview

Lists let you hold many values together and treat them as a single collection. Beginning with creating lists and accessing elements by position, you will extract sublists with slicing, add and remove items, change and sort contents, check for particular values, and combine lists. These skills prepare you to process collections with loops in the next path.

Syllabus

Python Lists Fundamentals

  • Create Empty and Populated Lists
  • Print the First and Last Score
  • Count and Slice the Scores
  • Reach Into a Nested Grid

Building and Modifying Lists

  • Add Tasks by Position
  • Merge the Afternoon Tasks
  • Take Lunch Off the List
  • Finish the Day by Position

Editing and Ordering Lists

  • Correct the Mispriced Item
  • Update the Middle Prices Together
  • Sort the Price List Both Ways
  • Sort a Copy and Reverse

Exploring List Queries

  • Check the Pantry List
  • Count the Poll Votes
  • Locate Poll Responses Safely
  • Combine Both Voting Rounds

Reviews

Start your review of Building and Modifying Lists in Python

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.