Uni Graz logo


Collection data types

Gerald Senarclens de Grancy <cms@senarclens.eu>


What's in a name? That which we call a rose by any other name would smell as sweet.
– William Shakespeare

Python Lists

Python Tuples

Multiple Assignment

Python Dictionaries

Python Sets


Homework and Required Reading

  1. Read and understand the content of Python Programming - Source Documentation and Comments
  2. Work through the Python3 documentation for doctests (from the top of the file until (not including) "How It Works")
  3. Read about One-line Docstrings and Multi-line Docstrings directly in the relevant Python Enhancement Proposal (PEP 257)
  4. Do the 4th homework


and feedback...

Further Reading

Mark Pilgrim Dive Into Python 3 (2nd edition) Apress (October 23, 2009)
Python Software Foundation Python Documentation http://docs.python.org/py3k/