• 大小: 60.79M
    文件类型: .zip
    金币: 2
    下载: 1 次
    发布日期: 2022-01-16
  • 语言: Python
  • 标签: 其他  

资源简介

《Python编程实践》PDF及代码.zip

资源截图

代码片段和文件信息

def find_two_smallest(L):
    “““ (list of float) -> tuple of (int int)

    Return a tuple of the indices of the two smallest values in list L.

    >>> find_two_smallest([809 834 477 478 307 122 96 102 324 476])
    (6 7)
    “““
    # Find the index of the minimum item in L
    # Remove that item from the list
    # Find the index of the new minimum item in the list
    # Put the smallest item back in the list
    # If necessary adjust the second index
    # Return the two indices

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-07-05 21:35  《Python编程实践》PDF及代码\
     文件    64938148  2013-12-03 19:16  《Python编程实践》PDF及代码\Python编程实践.pdf
     目录           0  2017-07-05 21:35  《Python编程实践》PDF及代码\Python编程实践gwpy2-code\
     目录           0  2017-07-05 21:35  《Python编程实践》PDF及代码\Python编程实践gwpy2-code\code\
     目录           0  2017-07-05 21:35  《Python编程实践》PDF及代码\Python编程实践gwpy2-code\code\alg\
     文件         502  2013-09-17 18:30  《Python编程实践》PDF及代码\Python编程实践gwpy2-code\code\alg\find_remove_find1.py
     文件         391  2013-09-17 18:30  《Python编程实践》PDF及代码\Python编程实践gwpy2-code\code\alg\find_remove_find2.py
     文件         403  2013-09-17 18:30  《Python编程实践》PDF及代码\Python编程实践gwpy2-code\code\alg\find_remove_find3.py
     文件         451  2013-09-17 18:30  《Python编程实践》PDF及代码\Python编程实践gwpy2-code\code\alg\find_remove_find4.py
     文件         661  2013-09-17 18:30  《Python编程实践》PDF及代码\Python编程实践gwpy2-code\code\alg\find_remove_find5.py
     文件         243  2013-09-17 18:30  《Python编程实践》PDF及代码\Python编程实践gwpy2-code\code\alg\find_remove_find_header.py
     文件        7476  2013-09-17 18:30  《Python编程实践》PDF及代码\Python编程实践gwpy2-code\code\alg\pressure.txt
     文件          82  2013-09-17 18:30  《Python编程实践》PDF及代码\Python编程实践gwpy2-code\code\alg\search1.cmd
     文件         142  2013-09-17 18:30  《Python编程实践》PDF及代码\Python编程实践gwpy2-code\code\alg\search2.cmd
     文件          95  2013-09-17 18:30  《Python编程实践》PDF及代码\Python编程实践gwpy2-code\code\alg\search3.cmd
     文件        6076  2013-09-17 18:30  《Python编程实践》PDF及代码\Python编程实践gwpy2-code\code\alg\sea_levels.txt
     文件         379  2013-09-17 18:30  《Python编程实践》PDF及代码\Python编程实践gwpy2-code\code\alg\sort_then_find1.py
     文件         306  2013-09-17 18:30  《Python编程实践》PDF及代码\Python编程实践gwpy2-code\code\alg\sort_then_find2.py
     文件         556  2013-09-17 18:30  《Python编程实践》PDF及代码\Python编程实践gwpy2-code\code\alg\sort_then_find3.py
     文件         148  2013-09-17 18:30  《Python编程实践》PDF及代码\Python编程实践gwpy2-code\code\alg\time_example.py
     文件        1145  2013-09-17 18:30  《Python编程实践》PDF及代码\Python编程实践gwpy2-code\code\alg\time_find_remove_find.py
     文件         452  2013-09-17 18:30  《Python编程实践》PDF及代码\Python编程实践gwpy2-code\code\alg\walk_through1.py
     文件         262  2013-09-17 18:30  《Python编程实践》PDF及代码\Python编程实践gwpy2-code\code\alg\walk_through2.py
     文件         298  2013-09-17 18:30  《Python编程实践》PDF及代码\Python编程实践gwpy2-code\code\alg\walk_through3.py
     文件         381  2013-09-17 18:30  《Python编程实践》PDF及代码\Python编程实践gwpy2-code\code\alg\walk_through4.py
     文件         421  2013-09-17 18:30  《Python编程实践》PDF及代码\Python编程实践gwpy2-code\code\alg\walk_through5.py
     文件         618  2013-09-17 18:30  《Python编程实践》PDF及代码\Python编程实践gwpy2-code\code\alg\walk_through6.py
     文件         816  2013-09-17 18:30  《Python编程实践》PDF及代码\Python编程实践gwpy2-code\code\alg\walk_through7.py
     目录           0  2017-07-05 21:35  《Python编程实践》PDF及代码\Python编程实践gwpy2-code\code\basic\
     文件          14  2013-09-17 18:30  《Python编程实践》PDF及代码\Python编程实践gwpy2-code\code\basic\addition.cmd
     文件          27  2013-09-17 18:30  《Python编程实践》PDF及代码\Python编程实践gwpy2-code\code\basic\addmul.cmd
............此处省略752个文件信息

评论

共有 条评论