{ margin-top:40px; }
摘要: Python sorted() 函数 Python 内置函数 Python 内置函数 自由之枫 描述 sorted() 函数对所有可迭代的对象进行排序操作。 sort 与 sorted 区别: sort 是应用在 list 上的方法,sorted 可以对所有可迭代的对象进行排序操作。 list 的 阅读全文
posted @ 2020-05-17 17:37 自由之枫 阅读(272) 评论(0) 推荐(1)
摘要: numpy.random.randint用法 numpy.random.randint(low, high=None, size=None, dtype='l') 1 函数的作用是,返回一个随机整型数,范围从低(包括)到高(不包括),即[low, high)。 如果没有写参数high的值,则返回[0 阅读全文
posted @ 2020-05-17 16:24 自由之枫 阅读(5079) 评论(0) 推荐(0)