exercism / v3

The work-in-progress project for developing v3 tracks
https://v3.exercism.io
Other
170 stars 163 forks source link

[Python] Implement new Concept Exercise: lists #859

Closed aldraco closed 4 years ago

aldraco commented 4 years ago

This issue describes how to implement the lists concept exercise for the Python track.

Getting started

Please please please read the docs before starting. Posting PRs without reading these docs will be a lot more frustrating for you during the review cycle, and exhaust Exercism's maintainers' time. So, before diving into the implementation, please read up on the following documents:

Please also watch the following video:

Goal

The goal of this exercise is to teach the basics of the List (sequence type) data type in Python. We will accomplish this by requiring the student to create lists via various methods, iterate through a list via loop, access items in the list at a certain index, and form/access slices of the list.

Learning objectives

Out of scope

Concepts

Prerequisites

Resources to refer to

Python lists doc

Hints

Hints should link to the list instance methods doc page.

After

After, the student can explore the list comprehension pattern, even though it will be taught separately. This is also a good time to reference some builtin methods like len(), or max() - not as a teaching item, but to expose the student to their existence and build familiarity.

Representer

No changes required.

Analyzer

No changes required.

Implementing

Tests should be written using unittest.TestCase, and the test file named lists_basic_test.py.

Help

If you have any questions while implementing the exercise, please post the questions as comments in this issue.

Edits

BethanyG commented 4 years ago

@itamargal will be taking this on. 🌟 😄

BethanyG commented 4 years ago

This was closed by #1583 and #1932