摘要: #include <stdio.h> #include <string.h> int main() { char str[] = "there are plenty of good reasons "; char str0[] = "for a young person to choose to g 阅读全文
posted @ 2020-06-02 19:17 profesor 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 提醒:在python3中,reduce被移到了functools里面 from functools import reduce str1 = 'the quick brown fox' str2 = ' jumps over ' str3 = 'the lazy dog.' print(reduce 阅读全文
posted @ 2020-06-02 19:09 profesor 阅读(1237) 评论(0) 推荐(0) 编辑