摘要: 习题1 编写函数,对单词中的字母实现下操作: 根据参数设置,将单词中的字母转化为大写或者小写 返回转化之后的单词 def convert(word, low=True): if low: return word.lower() else: return word.upper() w = "Physi 阅读全文
posted @ 2019-11-03 09:10 python坚持者 阅读(322) 评论(1) 推荐(0) 编辑