10 2018 档案

摘要:#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 末末的爸爸 阅读(362) 评论(0) 推荐(0)

摘要:min(), max() 注意min()、max()函数调用方式中,条件的传递使用 key作为关键字参数。 sorted() sorted()函数有两个关键字参数,key用来设置排序条件,reverse为False为降序,Ture为升序。 filter() filter()函数中func为位置参数, 阅读全文

posted @ 2018-10-09 15:42 末末的爸爸 阅读(185) 评论(0) 推荐(0)

导航