摘要:
今天一整个上午学习了一下Python中的双下划线方法(魔术方法)。这些方法的功能非常强大,也能使Python代码可读性更高,更加Pythonic。这篇文章包含了很多魔术方法,包括: <!-- Custom stylesheet, it must be in the same directory as 阅读全文
摘要:
记录一下比较聪明的codewars练习题解决方案,不得转载。 2017/12/19 You will be given a string and you task is to check if it is possible to convert that string into a palindro 阅读全文