摘要:这道题并不能显示出Python的强大,仅仅作为练手吧
阅读全文
摘要:1. 最近在练习Python,发现它的确有时候比较方便,比如这个,一行代码就解决了问题。 注意到里面这个这个方法。This is extended slice syntax. It works by doing [begin:end:step] - by leaving begin and end
阅读全文
摘要:This problem is a little confusing to me at first. But after I read some articles online, I got to know that it requires bitwise operations. So basica
阅读全文