From Poe Saga ,Saga 会告诉你“The elements are ordered from largest to smallest”。
From Python doc ,但是 Python doc 并没有🤐。
POE saga 是个 gpt 机器人?
@shyrock #1 对 https://poe.com/Sage
说了啊 equivalent to : sorted(iterable,key=key,reverse=True)[:n]
Python 的文档是我遇到过的编程语言里面最难读的。主要是因为没有明确的类型约束,很多参数没法第一时间看懂。其次是一个方法 /函数通常是多个功能的复合,通过参数来进行区分,导致需要大量的文本来解释不同参数时的功能。
@NessajCN #3 是我没看清楚🤐,不过 returns a list with the `n` largest elements from the iterable. The elements are ordered from largest to smallest.明显更加好,因为相关的东西都放在一起了。
默认有个 reverse=True 吧
@icatme #6 啥意思?不明白
共收到 0 条回复:
回复
.NET Core 大润晟泽实验室
.NET Core 开发
VS Code 或者 VS 2019
系统介绍:
系统开发:
ASP.NET Core + EF Core Mysql + Bootstrap
运行环境:
Ubuntu 16.04 + Kestrel