2021年7月17日
摘要: https://www.runoob.com/python/python-func-enumerate.html 描述 enumerate() 函数用于将一个可遍历的数据对象(如列表、元组或字符串)组合为一个索引序列,同时列出数据和数据下标,一般用在 for 循环当中。 Python 2.3. 以上 阅读全文
posted @ 2021-07-17 23:24 guolongnv 阅读(133) 评论(0) 推荐(0) 编辑
摘要: Question: Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume tha 阅读全文
posted @ 2021-07-17 23:16 guolongnv 阅读(33) 评论(0) 推荐(0) 编辑