> > 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. >
??? Excuse me, but why you needed to call the same function SIX times? This seems to me not elegant in primis. Can you give us a practical example? On Sun, 22 Dec 2019 at 21:38, Batuhan Taskaya <isidenti...@gmail.com> wrote: > 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? > -- > https://mail.python.org/mailman/listinfo/python-list > -- https://mail.python.org/mailman/listinfo/python-list