表をなぞるようなPythonの使い方しかしてなかったのでちょっと調べてみる.リスト内包リスト内包(list comprehensions)を使うと変なリストを馬鹿みたいに簡単に作れる. lst1 = range (10) # これは普通に [0,1,2,...,9] lst2 = [a for a in range (10)] # …
Quote saved.
Login to quote this blog
Failed to save quote. Please try again later.
You cannot quote because this article is private.