I was reading a Python textbook, and this was in one of the examples. So I wonder what '_' means in something like this:
a = [[] for _ in xrange(10)]
range(2,10,2) [2, 4, 6, 8]
type(_)
I was reading a Python textbook, and this was in one of the examples. So I wonder what '_' means in something like this:
a = [[] for _ in xrange(10)]
range(2,10,2) [2, 4, 6, 8]
type(_)