• <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 閱讀(177) 評論(0)  編輯 收藏 引用 所屬分類: Python
            精品久久久久香蕉网| 国产福利电影一区二区三区久久老子无码午夜伦不 | 久久亚洲AV成人无码电影| 99久久人人爽亚洲精品美女| 韩国三级中文字幕hd久久精品| 久久精品国产亚洲AV无码麻豆| 久久亚洲国产中v天仙www| 欧美久久久久久午夜精品| 久久中文字幕无码专区 | 国产精品美女久久久久网| 91精品国产91久久久久久青草| 伊人久久大香线蕉成人| 狠狠狠色丁香婷婷综合久久五月 | 亚洲国产精品人久久| 久久久久久久波多野结衣高潮 | 无码任你躁久久久久久老妇| 新狼窝色AV性久久久久久| 欧洲国产伦久久久久久久| 国产Av激情久久无码天堂| 综合网日日天干夜夜久久| 久久香蕉国产线看观看猫咪?v| 久久久老熟女一区二区三区| 久久一区二区三区99| 日本免费久久久久久久网站| 日韩人妻无码精品久久久不卡 | 精品国际久久久久999波多野| 热RE99久久精品国产66热| 免费精品99久久国产综合精品| 国内精品久久久久影院薰衣草| 人妻中文久久久久| 久久亚洲高清综合| 亚洲精品高清国产一久久| 亚洲综合精品香蕉久久网97| 国产精品一区二区久久不卡| 91麻豆精品国产91久久久久久| 综合久久精品色| 成人午夜精品久久久久久久小说 | 三级三级久久三级久久| 久久电影网| 久久亚洲国产成人精品无码区| 久久亚洲2019中文字幕|