[ x*x for x in range(5)]
{i: datas[i] for i in range(len(datas))}
{0:”hello”}, {1:”abc”}, …
reference: https://stackoverflow.com/questions/14507591/python-dictionary-comprehension
[ x*x for x in range(5)]
{i: datas[i] for i in range(len(datas))}
{0:”hello”}, {1:”abc”}, …
reference: https://stackoverflow.com/questions/14507591/python-dictionary-comprehension