Syntactic sugar

Michael F. Stemper michael.stemper at gmail.com
Mon Jun 28 14:16:25 EDT 2021


On 28/06/2021 11.57, Stefan Ram wrote:
> "Michael F. Stemper" <michael.stemper at gmail.com> writes:
>> for iter in range(n):
>>    chunkofcode
> 
>    When the counter does not matter, people sometimes write "_":
> 
> for _ in range( n ):
>      chunkofcode

That looks like what I wanted.

Thanks!

-- 
Michael F. Stemper
Indians scattered on dawn's highway bleeding;
Ghosts crowd the young child's fragile eggshell mind.


More information about the Python-list mailing list