課程
/后端開發
/Python
/python進階
def?format_name(s): ????return?s.lower().capitalize() print?map(format_name,?['adam',?'LISA',?'barT'])
2015-03-16
源自:python進階 2-4
正在回答
嗯,sorted 不區分大小寫的時候感覺很有用!
舉報
學習函數式、模塊和面向對象編程,掌握Python高級程序設計
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2015-12-17
嗯,sorted 不區分大小寫的時候感覺很有用!