2014年1月20日月曜日

開発環境

『初めてのPython 第3版』(Mark Lutz 著、夏目 大 訳、オライリー・ジャパン、2009年、ISBN978-4-87311-393-7)のⅠ部(Pythonの基礎知識)のまとめ演習、5.(エラーの発生)を解いてみる。

その他参考書籍

5.(エラーの発生)

入出力結果(Terminal)

$ python3.3
Python 3.3.3 (default, Dec  2 2013, 01:40:21) 
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 1/0
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ZeroDivisionError: division by zero
>>> quit()
$

0 コメント:

コメントを投稿