Most elegant way to do something N times

Batuhan Taskaya isidentical at gmail.com
Sun Dec 22 15:34:46 EST 2019


I encounter with cases like doing a function 6 time with no argument, or
same arguments over and over or doing some structral thing N times and I
dont know how elegant I can express that to the code. I dont know why but I
dont like this for _ in range(n): do() thing. Any suggestions?


More information about the Python-list mailing list