50

これらの 3 つの式は同等のようです。

a,b,c = line.split()
(a,b,c) = line.split()
[a,b,c] = line.split()

それらは同じコードにコンパイルされますか?

どちらがよりpythonicですか?

4

1 に答える 1