• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            Welcome to 陳俊峰's ---BeetleHeaded Man Blog !

              C++博客 :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
              58 隨筆 :: 32 文章 :: 18 評論 :: 0 Trackbacks
            Python讀書筆記( 2006-4-12 ):

            Note One???: about integer and long integer
            There are four types of numeric literals: plain integers, long integers, floating point numbers, and imaginary numbers. There are no complex literals (complex numbers can be formed by adding a real number and an imaginary number).
            Note that numeric literals do not include a sign; a phrase like -1 is actually an expression composed of the unary operator `-' and the literal 1

            Note Two???: about operators
            The comparison operators <> and != are alternate spellings of the same operator. != is the preferred spelling; <> is obsolescent.

            Note Three: about delimiters
            The following printing ASCII characters are not used in Python. Their occurrence outside string literals and comments is an unconditional error:? ?$?????? ?

            Note Four? : about Sequences
            Sequences also support slicing: a[i:j] selects all items with index k such that? i <= k < j ?When used as an expression, a slice is a sequence of the same type. This implies that the index set is renumbered so that it starts at 0. Some sequences also support ``extended slicing'' with a third ``step'' parameter:?a[i:j:k] selects all items of a with index x where? x = i +n*k?, n >= 0??and i <= x < j.


            Note Five???: about Primary Prompt
            In interactive mode, the last printed expression is assigned to the variable _. This means that when you are using Python as a desk calculator, it is somewhat easier to continue calculations, for example:

            >>> tax = 12.5 / 100
            >>> price = 100.50
            >>> price * tax
            12.5625
            >>> price + _
            113.0625
            >>> round(_, 2)
            113.06
            >>>

            This variable should be treated as read-only by the user. Don't explicitly assign a value to it -- you would create an independent local variable with the same name masking the built-in variable with its magic behavior.
            posted on 2006-04-12 19:00 Jeff-Chen 閱讀(185) 評論(0)  編輯 收藏 引用 所屬分類: Python
            欧美喷潮久久久XXXXx| 久久综合狠狠综合久久综合88| 国产无套内射久久久国产| 久久一区二区三区99| 亚洲中文久久精品无码| 91精品婷婷国产综合久久| 中文字幕无码久久人妻| 久久精品国产一区| 国产精品99久久久精品无码| 97久久精品无码一区二区天美| 久久久受www免费人成| 精品999久久久久久中文字幕| 久久久午夜精品福利内容| 国内精品久久久久久麻豆 | 亚洲午夜无码久久久久小说| 久久精品亚洲一区二区三区浴池| 久久久久亚洲AV成人网人人软件| 久久久久99精品成人片试看| 久久一区二区三区99| 亚洲午夜精品久久久久久人妖| 久久国产乱子伦免费精品| 久久久久av无码免费网| 亚洲?V乱码久久精品蜜桃 | 国产福利电影一区二区三区久久老子无码午夜伦不 | 精品久久久久久国产| 久久精品天天中文字幕人妻| 国产成年无码久久久免费| 久久久人妻精品无码一区| 久久精品国产福利国产琪琪| 欧美一区二区精品久久| 久久99国产精品久久99果冻传媒| 久久男人Av资源网站无码软件| 久久婷婷五月综合国产尤物app | 久久综合亚洲色HEZYO社区 | 久久青草国产精品一区| jizzjizz国产精品久久| 久久天堂电影网| 久久国产免费直播| 综合久久一区二区三区 | 亚洲国产成人久久综合区| 97香蕉久久夜色精品国产 |