首页 > 编程 > Python > 正文

Python中的chr和ode函数

2019-11-06 06:04:50
字体:
来源:转载
供稿:网友

>>> help(chr)Help on built-in function chr in module __builtin__:chr(...)    chr(i) -> character        Return a string of one character with ordinal i; 0 <= i < 256.>>> help(ord)Help on built-in function ord in module __builtin__:ord(...)    ord(c) -> integer        Return the integer ordinal of a one-character string.
上一篇:python1

下一篇:python面试题二

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表