• <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++博客 :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
              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 閱讀(174) 評論(0)  編輯 收藏 引用 所屬分類: Python
            久久国产色AV免费观看| 一本一本久久A久久综合精品 | 久久男人中文字幕资源站| 久久se精品一区二区影院| 午夜视频久久久久一区 | 久久婷婷午色综合夜啪| 色欲久久久天天天综合网精品| 久久99国产乱子伦精品免费| 久久99精品免费一区二区| 无码久久精品国产亚洲Av影片| 好久久免费视频高清| 久久久久99这里有精品10| 久久天堂电影网| 日日噜噜夜夜狠狠久久丁香五月| 99久久伊人精品综合观看| 无码日韩人妻精品久久蜜桃 | 久久一日本道色综合久久| 久久精品无码一区二区app| 无码人妻久久久一区二区三区 | 青青青伊人色综合久久| 国产A三级久久精品| 久久久久亚洲AV成人网| 久久99精品国产99久久6男男| 久久精品国产亚洲AV蜜臀色欲 | 久久国产成人精品国产成人亚洲| 亚洲精品白浆高清久久久久久| 久久久久久噜噜精品免费直播| 久久久久久狠狠丁香| 久久久久国产精品熟女影院| 久久强奷乱码老熟女网站| 久久伊人五月天论坛| 午夜肉伦伦影院久久精品免费看国产一区二区三区 | 久久se这里只有精品| 国产99久久久国产精品~~牛| 99久久人妻无码精品系列| 精品久久久噜噜噜久久久| 精品蜜臀久久久久99网站| 精品免费tv久久久久久久| 久久精品嫩草影院| 国产AV影片久久久久久| 久久久久九国产精品|