【1】字符串输出格式
print(firstVariable.lower()) #输出全小写
print(firstVariable.upper()) #输出全大写
print(firstVariable.title()) #输出文本格式
#输出:
hello world
HELLO WORLD
Hello World
【2】字符分割
firstVariable.split()
#输出
['Hello', 'World']
【3】字符插入
" a ".join(a) #join()括号中输入要添加字符
#输出:
'Hello a World'