标签:sign pre rest cas sig 字母 style and character
def capitalize(self): # real signature unknown; restored from __doc__ """ S.capitalize() -> str Return a capitalized version of S, i.e. make the first character have upper case and the rest lower case. """ return ""
首字母大写
name = str(‘xiongchaoyuan‘)
print(name.capitalize())
Xiongchaoyuan
标签:sign pre rest cas sig 字母 style and character
原文地址:http://www.cnblogs.com/jnkq/p/7905877.html