Python比较有用的小语法
额,这是在Codeforces做题的时候从Virtual judge那儿学的
#ord()内置函数,将单个字符变为int#chr()内置函数,将int变为单个字符# for : else ( 或 while : else) 这个语法好用
posted on 2014-03-28 22:04 Stomach_ache 阅读(158) 评论(0) 收藏 举报
额,这是在Codeforces做题的时候从Virtual judge那儿学的
#ord()内置函数,将单个字符变为int#chr()内置函数,将int变为单个字符# for : else ( 或 while : else) 这个语法好用
posted on 2014-03-28 22:04 Stomach_ache 阅读(158) 评论(0) 收藏 举报