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

    ??15?? ????Python??????

    ????

    ????????
    ??????
    ?§Ò????
    ????§Ò????
    ??????§ß????????§Ò?
    lambda???
    ???lambda???
    exec??eval???
    assert???
    repr????
    ????

    ??????????????????????????????Python????????????§µ??????????????§»?????Python?????????????Python???????? ???? ??

    ????????

    ?????????§»????????????????????ÈÉ????__init__??__del__??????????????????????????????

    ??????????????????????????????????????íà?????????????????x[key]?????????????????????§Ò????????????????????????__getitem__()????????????????¡ê?Python?????list???????????

    ????????????§Ô????§»???????????????????????????§Ö?????????????????Python?¦Ï?????????????????§Ò??

    ??15.1 ?§»????????

    ???? ???
    __init__(self,...) ????????????????????????????????????¨¢?
    __del__(self) ???????????????????¨¢?
    __str__(self) ?????????????print?????????str()???????¨¢?
    __lt__(self,other) ????? §³?? ???????<?????????¨¢??????????????§Ö????????+??>??????????????????
    __getitem__(self,key) ???x[key]?????????????????¨¢?
    __len__(self) ?????§Ø???????????len()???????????¨¢?

    ???? ????? ????
    ???? ??? ??????
    ?????
    @ssv 97av