Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

タプルを返す関数をわかりやすいものにしたい #48

Open
terapyon opened this issue Jul 5, 2016 · 1 comment
Open

Comments

@terapyon
Copy link
Member

terapyon commented Jul 5, 2016

LIST 2.47 タプルを返す関数
関数がピンとこなかった。もう少しわかりやすい物に置き換えたい。

>>> def head_splitter(seq):
...     return seq[0], seq[1:]
@terapyon
Copy link
Member Author

terapyon commented Jul 9, 2016

良い表現が見つからない。とりあえず、放置でいいかもしれない。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant