what does 'for _ in range()' mean?

Matteo Dell'Amico della at toglimi.linux.it
Wed Jul 28 05:35:48 EDT 2004


Whoops, part missing :-)

Matteo Dell'Amico wrote:

> I have seen it in logic and functional programming, where '_' - 
> differently from python - has a special meaning: assignments to '_' are 
> discarded in functional programming and

in logic programming it is seen as a jolly "match-all" value.

-- 
Ciao,
Matteo



More information about the Python-list mailing list