<dd id="sga4y"><optgroup id="sga4y"></optgroup></dd>
<nav id="sga4y"><code id="sga4y"></code></nav>
  • <optgroup id="sga4y"></optgroup>
    ???? Python ???
    ??5?? ??????????
    ???? ????? ????

    ?????

    ??????????????????????????¡Â???

    ????

    ????????????y????????????????§Ú?????????????íà?????????2 + 3????y??????????????Python????????

    >>> 2 + 3
    5
    >>> 3 * 5
    15
    >>>

    ??5.1 ?????????????¡Â?

    ????? ???? ??? ????
    + ?? ??????????? 3 + 5???8??'a' + 'b'???'ab'??
    - ?? ?????????????????????????? -5.2????????????50 - 24???26??
    * ?? ??????????????????????????¦Å?????? 2 * 3???6??'la' * 3???'lalala'??
    ** ??

    ????x??y????

    3 ** 4???81????3 * 3 * 3 * 3??
    / ?? x????y 4/3???1?????????????????????????4.0/3??4/3.0???1.3333333333333333
    // ????? ??????????????? 4 // 3.0???1.0
    % ?? ????????????? 8%3???2??-25.5%2.25???1.5
    << ???? ?????????????????????????????????????§Ø??????????????????????0??1?? 2 << 2???8??????2?????????10
    >> ???? ???????????????????????? 11 >> 1???5??????11?????????1011?????????1???????101??????????5??
    & ??¦Ë?? ?????¦Ë?? 5 & 3???1??
    | ??¦Ë?? ?????¦Ë?? 5 | 3???7??
    ^ ??¦Ë??? ?????¦Ë??? 5 ^ 3???6
    ~ ??¦Ë??? x???¦Ë?????-(x+1) ~5???-6??
    < §³?? ????x???§³??y?????§Ò???????????1????—¨????0????????????????????True??False?????????§»?????????§Õ?? 5 < 3????0????False????3 < 5????1????True????????????????????3 < 5 < 7????True??
    > ???? ????x??????y 5 > 3????True???????????????????????????????????????????????????????????????False??
    <= §³????? ????x???§³?????y x = 3; y = 6; x <= y????True??
    >= ??????? ????x?????????y x = 4; y = 3; x >= y????True??
    == ???? ???????????? x = 2; y = 2; x == y????True??x = 'str'; y = 'stR'; x == y????False??x = 'str'; y = 'str'; x == y????True??
    != ?????? ????????????????? x = 2; y = 3; x != y????True??
    not ????????? ???x?True??????False?????x?False????????True?? x = True; not x????False??
    and ???????? ???x?False??x and y????False????????????y???????? x = False; y = True; x and y??????x??False??????False????????Python???????y?????????????????????????False?????x??False???????????????¡¤????
    or ???????? ???x??True????????True????????????y???????? x = True; y = False; x or y????True????¡¤??????????????¨¢?

    ???? ????? ????
    ??? ??? ??????????
    ?????
    ???

    ????????????? ????,??§Ý???????????????
    ????~ ??¦Ë???,??§Ý?????Bitex
    97av