Some simple programs written according a text book about Python.