python
2018-05-30 本文已影响0人
Duckman520
dk= "duck"
print(dk.title()) 首字母大写,其它小写
print(dk.upper())所有的大写
print(dk.lower())所有都小写
firstname= "duck"
lastname= "man"
full= firstname + "_" + lastname
print("hello,"+"99999"+full+"000000"+"?")

python中用加号合并字符串