Uni Graz logo

CMS 1

Collection data types

Gerald Senarclens de Grancy <cms@senarclens.eu>

Terminology

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

Matrices

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

Summary

Questions
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/