请问,这样怎么不行?
def firstCharUpper(s): s[0]=s[0].upper() return s print firstCharUpper('hello') print firstCharUpper('sunday') print firstCharUpper('september')
def firstCharUpper(s): s[0]=s[0].upper() return s print firstCharUpper('hello') print firstCharUpper('sunday') print firstCharUpper('september')
2015-09-05
举报