A thorough introduction into list
and tuple
in Python 3.
Author: Philip Wilkinson Head of Science (21/22)
Contact: philip.wilkinson.19@ucl.ac.uk
Difficulty: 2/5 ~ 3/5
Prerequisite:
PY01
or basic Python syntax. Experience withlist
,tuple
,set
anddictionary
is desirable, but we will take a closer look into the details.
In this workshop will will be introduced to the four main data structures in python of list
, tuple
, set
and dictionary
. We will take a closer at what makes these data structures unique, how we can use them and their unique methods and functions, covering a thorough introduction of each data structure. Even if you are familiar with the data stcutures, this workshop might be able to give you some insight into new methods or techniques and why certain data structures may be used in certain situations.
- Python 3
- Anaconda
- Jupyter Notebook
.
├── PY02 - Data Structures
│ ├── README.md
│ ├── workshop.ipynb
│ ├── problem.ipynb
│ ├── answer.ipynb