作者查詢 / venomsoul
作者 venomsoul 在 PTT [ Python ] 看板的留言(推文), 共65則
限定看板:Python
看板排序:
全部Gossiping53816Tech_Job1581LoL1042Hunter569WarCraft390Kaohsiung244MiHoYo243HI_3rd214TORIKO202H-GAME140HatePolitics130Hearthstone117cat113Miaoli95Shokugeki91Salary80C_Chat78eSports67Python65DIABLO63WOW62Beauty56NARUTO55L_TalkandCha45PlayStation39BERSERK37movie32joke30car27nCoV201926Tainan25Teacher25WarCraftChat25ArakawaCow23kekkai22home-sale19Lineage18PingTung17sex16IA14ask12PublicIssue11TaichungBun9WomenTalk9Stock8ChangHua7Hsinchu7ONE_PIECE7AfterPhD6FAIRYTAIL6NTU6Aviation5KOTDFansClub5MenTalk5Nangang5Sub_GOnline5AllTogether4CFantasy4Isayama4LoL_Picket4MuscleBeach4rent-exp4SENIORHIGH4specialman4Violation4YOLO4BigSanchung3CVS3graduate3Shu-Lin3Sub_Strategy3TokyoGhoul3About_Life2Baseball2BlizzHeroes2Chan_Mou2Chiayi2ComGame-Plan2dog2Hate2Lifeismoney2Marginalman2medstudent2ShuangHe2SouthPark2StupidClown2TamShui2Taoyuan2Test2Wanted2AI_Art1Anti-Cancer1Aves1BabyMother1Balloon1Bon_Jovi1Boy-Girl1ChemEng1ChungLi1Coffee1consumer1CSMU-D-War31DeathNote1EatToDie1Eng-Class1Finance1Food1ForeignEX1gallantry1Garena1gay1GossipPicket1Gov_owned1Headphone1HsinTien1HsinYi1HSNU_10851I-Lan1Interdiscip1iOS1Keelung1kochikame1KoreaStar1L_LifeJob1MayDay1MdnCNhistory1Militarylife1MobilePay1Nantou1NBA1NDHU-EE931NDMC-D621Neihu1Nethood1NetSecurity1NTHU_LST_93A1NTPU-LAND90B1NTUE-CS1021PC_Shopping1PhD1piano1PokemonGO1Ptt-Charity1PttHistory1Railway1Road_Running1RumikoTWorld1San-Ying1SayLove1SMSlife1SongShan1StockPicket1SuperHeroes1swim1Thailand1TPC_Police1True-Escape1TuCheng1Wanhua1WorkinChina1Yunlin1<< 收起看板(161)
3F推: count = 008/15 11:25
4F→: for i in my_list:08/15 11:25
5F→: if i > 2:08/15 11:25
6F→: count += 108/15 11:25
7F→: return count08/15 11:25
8F推: 喔return那行多的,這不是函數08/15 11:29
15F推: 先把a, b, c弄成list或tuple,然後把這個list或tuple04/18 00:19
16F→: 用list 生成式取其set放入list,然後用len判斷,反正04/18 00:19
17F→: 都排序好了04/18 00:19