Python 自學小知識留存

1.Python format 格式化函數,format 函數可以接受不限個參數,位置可以不按順序。 簡單舉例:更多參考http://www.runoob.com/python/att-string-format.html 2.Python 字典(Dictionary) keys()方法,用dict.keys()方法返回一個字典dict的所有鍵。 test = { "statusCode"
相關文章
相關標籤/搜索