Jul-05-2019, 07:18 PM
Hi,
Regards, noisefloor
Quote:I just wrote the order from the book,If this code is really shown in a book -> throw away the book, it teaches bad Python. Iterating over an iterable with
range(len(...))
as an antipattern. Also the style your variable names are written is not the pythonic way to do it.Regards, noisefloor