2014年12月6日土曜日

開発環境

Introducing Python: Modern Computing in Simple Packages(Bill Lubanovic (著)、 O'Reilly Media)のChapter 1(A Taste of Py)、Things to Do 1.1, 1.2, 1.3, 1.4, 1.5.を解いてみる。

Things to Do 1.1, 1.2, 1.3, 1.4, 1.5.

入出力結果(Terminal, IPython)

$ ipython
Python 3.4.2 (default, Nov  1 2014, 16:32:22) 
Type "copyright", "credits" or "license" for more information.

IPython 2.3.1 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

In [1]: 8 * 9
Out[1]: 72

In [2]: 47
Out[2]: 47

In [3]: print(47)
47

In [4]: quit()
$

0 コメント:

コメントを投稿