def format_name(s):? ? s.lower()? ? s[0].upper()? ? return s? ??print map(format_name, ['adam', 'LISA', 'barT'])想把首字母大寫其他字母小寫 為什么還是原樣? 查看完整描述