Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

introducelist.sort() but no details before #133881

Closed
Assignees
Shepard2154
Labels
docsDocumentation in the Doc direasy
@Yzi-Li

Description

@Yzi-Li

Documentation

A example oflambda expressions introduceslist.sort(), but there aren't details oflist.sort() before.

>>>pairs= [(1,'one'), (2,'two'), (3,'three'), (4,'four')]>>>pairs.sort(key=lambdapair:pair[1])>>>pairs[(4,'four'), (1,'one'), (3,'three'), (2,'two')]

We shoud linkmore on lists after this example or intutorial 3.1.3 lists.

Linked PRs

Metadata

Metadata

Assignees

Labels

docsDocumentation in the Doc direasy

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp