python辞書の式の導出
435 ワード
{key: value for (key, value) in iterable}
print({key:value for key,value in enumerate("qwdfsdf")})
{key: value for (key, value) in iterable}
print({key:value for key,value in enumerate("qwdfsdf")})