2015年9月25日

ASCIL码和字符的转换

摘要: 1.在python中:字符-->ASCIL 用ord函数ASCIL-->字符 用chr函数下面是一个输入小写字母转换为大写字母输出的例子:# -*- coding: utf-8 -*-__author__ = 'yjw'lowercase = str(input("输入一个小写字母:"))print... 阅读全文

posted @ 2015-09-25 18:36 红豆·绿豆 阅读(643) 评论(0) 推荐(0)

导航