python字符串常见用法自用

# 本文件介绍字符串的常见用法
name = "zhalslssl"
"""
1.变大写,小写
"""
name_big = name.upper()
print(name_big)
name_small = name.lower()
print(name_small)

"""
2.判断是否是数字

"

你可能感兴趣的:(python,开发语言)