Created
October 18, 2014 14:36
-
-
Save yuitest/333bb5f928704769263b to your computer and use it in GitHub Desktop.
Python 3 の素敵ポイント
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
first, *rest = (1, 2, 3, 4, 5) | |
# ってやると、 first == 0 で rest == [2, 3, 4, 5] になる。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment