Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ranges, Tuples, Sets #6

Open
s2t2 opened this issue Sep 6, 2024 · 0 comments
Open

Ranges, Tuples, Sets #6

s2t2 opened this issue Sep 6, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@s2t2
Copy link
Member

s2t2 commented Sep 6, 2024

A student suggests we should talk about lists vs tuples.

Let's split datatypes into two sections - basic vs container (see tables in datatypes overview).

In container datatypes section, we can add chapters for ranges, tuples, and sets.

Can use some content about tuples and sets from here:
https://nbviewer.org/github/prof-rossetti/intro-to-python/blob/9dae828b7e64ff2beeda4a8371cec6a4a6c9b92e/notes/python/datatypes/Intermediate_Datatypes.ipynb#L49

add to table in datatypes overview:

| Range  | An immutable sequence of numbers, from start to stop. | `range(1,10)`|

@s2t2 s2t2 mentioned this issue Sep 26, 2024
@s2t2 s2t2 added the enhancement New feature or request label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant