• <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 閱讀(180) 評論(0)  編輯 收藏 引用 所屬分類: Python
            精品综合久久久久久97超人| 国产综合成人久久大片91| 久久精品国产福利国产琪琪| 精品国产91久久久久久久a| 久久天天躁狠狠躁夜夜av浪潮| 色欲综合久久躁天天躁| 2019久久久高清456| 亚洲嫩草影院久久精品| 亚洲国产精品一区二区三区久久| A级毛片无码久久精品免费| 久久精品视频网| 一本久久a久久精品综合香蕉| 无码人妻精品一区二区三区久久久| 国产精品福利一区二区久久| 久久无码一区二区三区少妇| 亚洲狠狠婷婷综合久久久久 | 精品久久久久成人码免费动漫 | 99久久精品九九亚洲精品| 亚洲v国产v天堂a无码久久| 久久超碰97人人做人人爱| 日韩美女18网站久久精品| 97久久超碰国产精品旧版| 一本色道久久88精品综合| 性做久久久久久久久久久| 久久国产一区二区| 一本色道久久HEZYO无码| 伊人色综合九久久天天蜜桃| 精品久久人人妻人人做精品| AV狠狠色丁香婷婷综合久久| 一本久久a久久精品vr综合| 无码乱码观看精品久久| 久久www免费人成看国产片| 亚洲天堂久久精品| 久久福利青草精品资源站免费| 人妻无码久久一区二区三区免费| 久久中文字幕精品| 亚洲午夜久久久| 亚洲精品国产美女久久久| 亚洲国产精品久久电影欧美| 亚洲精品乱码久久久久久蜜桃不卡 | 久久久久久久免费视频|