16
Sanja_Morik
3 14 29
1351/ 1445
Олександр Мориконь
Last seen 1 month ago
Member for 6 years, 5 months, 23 days
Difficulty Normal
Best reviews / Newest reviews
unicodedata-kdim 1
Good code but the variable n is not very clear, maybe better naming should have been used. More
First-freeman_lex 1
Good code, mostly everyone uses list comprehension but not filter. More
First-sanello
Very good, by the way, a new built-in function appeared in python 3.12, in module itertools: flattened_data = ['roses', 'red', 'violets', 'blue', 'sugar', 'sweet'] unflattened = list(batched(flattened_data, 2)) unflattened [('roses', 'red'), ('violets', 'blue'), ('sugar', 'sweet')] for batch in it More
First-sanello
Good, but the last line is difficult to understand, I'm a fan of breaking such logic into several lines. More
First-sergeiloginov91
The code is easy to read, but can use list comprehension. More
First (='ω'=)-Magu
Interesting and original solution. More