2020年5月24日

摘要: 一,输入语句的语法格式; str = input(); print (type (str))#type 判断类型 >>>(class 'str') 阅读全文

posted @ 2020-05-24 23:57 RorinL 阅读(108) 评论(0) 推荐(0) 编辑

摘要: String基本方法 test = " helloWord " 1单词全部大写stringObj.upper(); print("testtextUpper=(" + test.upper() + ")") 2单词全部小写stringObj.lower(); print("testTextLower 阅读全文

posted @ 2020-05-24 14:19 RorinL 阅读(153) 评论(0) 推荐(0) 编辑