学习笔记(6):零基础掌握 Python 入门到实战-深入浅出字符串(三)

立即学习:https://edu.csdn.net/course/play/26676/338776?utm_source=blogtoedu

dir()查看对象的属性和方法

help()看文档

[]里面是可选的

split分割字符串

lst组装字符串

字符串格式化输出 使用format方法

format{0:}

猜你喜欢

转载自blog.csdn.net/m0_49939521/article/details/108508081
今日推荐