2018年11月19日

摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> int main() { char tmp[128]; char tmp1[128]; char *Msg; int len,l,l1; mem 阅读全文
posted @ 2018-11-19 15:10 末末的爸爸 阅读(45) 评论(0) 推荐(0) 编辑

2018年10月31日

摘要: #include #include #include #include //去除尾部空格 char *rtrim(char *str) { if(str == NULL||*str == '\0') { return str; } int len = strlen(str); char *p=str+len-1; whil... 阅读全文
posted @ 2018-10-31 10:51 末末的爸爸 阅读(305) 评论(0) 推荐(0) 编辑

2018年10月9日

摘要: min(), max() 注意min()、max()函数调用方式中,条件的传递使用 key作为关键字参数。 sorted() sorted()函数有两个关键字参数,key用来设置排序条件,reverse为False为降序,Ture为升序。 filter() filter()函数中func为位置参数, 阅读全文
posted @ 2018-10-09 15:42 末末的爸爸 阅读(102) 评论(0) 推荐(0) 编辑

导航