作者查詢 / a1234567289
作者 a1234567289 在 PTT [ Python ] 看板的留言(推文), 共6則
限定看板:Python
看板排序:
全部MobileComm930PC_Shopping746Gossiping673SENIORHIGH595Tech_Job338NSwitch315graduate282LoL256home-sale238C_Chat227MAC217Stock150iOS74Steam66FATE_GO65TypeMoon62FBG60WomenTalk33Soft_Job32Headphone26PuzzleDragon23Wargaming21Hearthstone16PlayStation14joke13HatePolitics10Olympics_ISG10AI_Art9Gamesale7NDS7Shadowverse7facelift6Physics6Python6Storage_Zone6Boy-Girl5car5creditcard5Military5Salary5LAW4MiHoYo4NTU4AmuroNamie3movie3nb-shopping3nCoV20193Teacher3WhiteCat3WrawlStars3DataScience2Doraemon2H-GAME2PokeMon2specialman2StarCraft2Sub_DigiLife2WindowsPhone2AC_In1AfterPhD1Baseball1BlackDesert1BuyTogether1C_and_CPP1DummyHistory1Employee1Examination1FireEmblem1GirlsFront1Kaohsiung1MayDay1MH1NBA1NCU_Talk1PhD1PublicIssue1StupidClown1swim1<< 收起看板(78)
首頁
上一頁
1
下一頁
尾頁
16F推: 同樓上 python的sort是效率更好的TimSort04/23 15:38
12F推: 樓上有給解 那我給個不同的 使用列表推導或是生成器08/18 21:43
13F→: 表達式都是很好的方法 而且你這個code幾乎不用改08/18 21:43
21F→: 這怎麼會是pythonic的寫法 在不需要else的地方用else12/18 19:13
22F→: ? 我真的不懂12/18 19:13
23F→: 如果是後綴不能少 else 真的不建議這樣寫12/18 19:15
首頁
上一頁
1
下一頁
尾頁