python学习
seveneleve
这个作者很懒,什么都没留下…
展开
-
CheckIO Mine
CheckIO GITHUB题目1:Fizz Buzz题目2:Cut Sentence题目3:Best Stock题目4:Bigger Together题目5:Binary Count题目6:Achilles and the Tortoise题目7:Caesar Cipher (decryptor)题目8:Caesar Cipher (encryptor)题目9:Moore Neighbourhood题目10:Fast Train题目11:Find Enemy题目12:题目13:题目14:题目15:题目16原创 2020-10-22 22:22:58 · 144 阅读 · 0 评论 -
CheckIO GITHUB
CheckIO GITHUB题目1:The End of Other题目2:The Cheapest Flight题目3:The Highest Building题目4:The Most Frequent Weekdays题目5:Create Intervals题目6:Merge Intervals题目7:Expand Intervals题目8:Long Repeat Inside题目9:Painting Wall题目10:题目11:题目12:题目13:题目14:题目15:题目16:题目17:题目18:题目原创 2020-10-09 10:34:13 · 398 阅读 · 0 评论 -
Python 绘图显示中文
python显示中文字符异常在python绘图时,如import pandas as pdimport numpy as npdata = pd.DataFrame(np.random.randint(0,10,[10,5]),columns=['1年','2年','3年','4年','5年'])data.sum().plot.pie()绘出来的图形无法正常显示中文字符。解决办法导入matplotlib后输入import matplotlib.pyplot as pltplt.rcP原创 2020-10-09 10:33:06 · 15372 阅读 · 3 评论 -
CheckIO O‘Reilly
CheckIO O'Reilly题目1:Replace Last题目2:Index Power题目3:Majority题目4:Remove All After题目5:Median题目6:Chunk题目7:Sort Except Zero题目8:Frequency Sorting题目9:How Deep题目10:Time Converter (12h to 24h)题目11:Reverse Every Ascending题目12:Parse Array题目13:Compress List题目14:Median原创 2020-10-02 21:51:09 · 312 阅读 · 0 评论 -
CheckIO Scientific Expedition
CheckIO Scientific Expedition题目1:Absolute Sorting题目2:Remove Accents题目3:Goes Right After题目4:The Hidden Word题目5:Time Converter (24h to 12h)题目6:Sum by Type题目7:Bird Language题目8:Common Words题目9:Follow Instructions题目10:Pangram题目11:Caps Lock题目12:The Most Wanted L原创 2020-09-30 17:31:31 · 532 阅读 · 0 评论 -
CheckIO INCINERATOR
CheckIO-INCINERATOR题目1:The Warriors题目2:Army Battles题目3:The Defenders题目4:The Vampires题目5:The Lancers题目6:The Healers题目7:Straight Fight题目8:The Weapons题目9:The Warlords题目10:Army Units题目11:3 Chefs题目12:Building Base题目13:Capital City题目14:Dialogues题目15:Every Person原创 2020-09-24 21:01:26 · 466 阅读 · 2 评论 -
CheckIO ELECTRONIC STATION
CheckIO-ELECTRONIC STATION题目1:Sum Numbers题目2:Sort by Extension题目3:Digits Multiplication题目4:Acceptable Password II题目5:Acceptable Password III题目6:Acceptable Password IV题目7:Acceptable Password V题目8:Acceptable Password VI题目9:All Upper II题目10:Ascending List题目11原创 2020-09-19 13:42:43 · 694 阅读 · 0 评论 -
CheckIO Home
CheckIO-Home题目1:题目2:题目3:题目4:题目5:题目6:题目7:题目8:题目9:题目10:题目11:题目12:题目13:题目14:题目15:题目16:题目17:题目18:题目19:题目20:题目1:在一句话中找出所有单独的数字并相加回答:def sum_numbers(text: str) -> int: # your code here sum = 0 for x in text.split(): if x.isdigit():原创 2020-09-07 00:27:53 · 479 阅读 · 0 评论 -
CheckIO Element
CheckIO-Element题目1:Multiply(intro)题目2:Easy Unpack题目3:First Word (simplified)题目4:Acceptable Password I题目5:Number Length题目6:End Zeros题目7:Backward String题目8:Remove All Before题目9:All Upper I题目10:Replace First题目1:Multiply(intro)创建一个输入类型为int的a,b的函数返回其乘积。回答:原创 2020-09-02 22:42:21 · 760 阅读 · 0 评论