python基本语法
摘要:
变量:整型、实数、布尔值、字符串、或更复杂的数据结构,如列表、字典。 python2版本 函数: 查看变量类型: >>>port = '21' >>>type(port) <type 'str'> 字符串函数:小写转大写:upper();小写转小写:lower();字符串old替换成new:repl 阅读全文
posted @ 2019-12-04 15:12 stuano 阅读(196) 评论(0) 推荐(0) 编辑