Appearance
将字符串的第一个字符转换为大写,其余字符转换为小写
from usepy import capitalize
string
>>> capitalize('fred') 'Fred' >>> capitalize('FRED') 'Fred'