Created
April 17, 2019 14:01
-
-
Save fereria/933c1fba8423aef1f1f8427e1c22dabd to your computer and use it in GitHub Desktop.
This file contains 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
# -*- coding: utf-8 -*- | |
""" | |
基本はListと同じ。 | |
違いは {} なのと、 key:value for x in XXX になっているところ | |
""" | |
d = {str(x): x * 3 for x in range(10)} | |
print (d) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment