A short tutorial on basic Python 3 interspersed with several exercises, intended as a fast-paced introduction to Python and to programming for undergraduate students. It discusses the following topics:
- Python and Jupyter notebooks
- Basic types and operations
- Strings
- Collections (lists, tuples, sets and dictionaries)
- Decision structures (
if
-else
-elif
andmatch
) - Loop structures (
for
andwhile
) - Functions and modules
- Zelle, John — Python Programming: An Introduction to Computer Science, 3rd ed. (2016) — Franklin, Beedle & Associates