32
ogoro
7 32 42
5888/ 6195
Awesome Team Mykhailo Ohorodnikov https://ogoro.me
Last seen 1 year ago
Member for 3 years, 8 months, 29 days
Difficulty Normal
Python developer with telecom background - Kyiv, Ukraine

Best reviews / Newest reviews
strptime/strftime-sanketchaudhari0608
clear and compact utilization of datetime formats, thank you! but variable name "min" seems to shadow built-in function min..) More
First-tousleboy
re.split to get phrase parts, no datetime imports - interesting solution, thank you! More
First-Phil15 1
thank you for the solution - clear and efficient!) don't you know why no-one seems to use re.Scanner for this mission? it is from Python Cookbook, looks very convenient - for example: https://py.checkio.org/mission/hacker-language/publications/ogoro/python-3/scanner-with-code-dictionary/ ) More
clear-vskos1982
you could use: if not line: return line More
compress list-Vitaly_Titkov 1
i suppose else is not mandatory here? else: pass More
(O_O)-sytchov1
you could use: line.insert(0, line.pop()) or even deque: https://docs.python.org/3/library/collections.html#collections.deque with rotate: https://docs.python.org/3/library/collections.html#collections.deque.rotate More
First-kunkka71
clear and efficient solution, thank you) More
Hour..hours-vanya2143
interesting solution, thank you! i also found out that new function "removeprefix" was introduced in version 3.9: https://docs.python.org/3/library/stdtypes.html#str.removeprefix ) More
Checking Rows, Columns, and Diagonals-musicchief
thanks for the clear code) you could also use comprehension: # Loops columns and diagonals to check for wins for index in range(5): if checklist[index] == 'XXX': return 'X' elif checklist[index] == 'OOO': return 'O' -> if any(c == 'XXX' for c i More
Simple solution-brubru777
interesting phrase splitting with re and mapping to int, thank you! More
Unix Match-colinmcnicholl 1
thank you for the explanation) More
re.match(pattern, string)-David_Jones
thanks for clear view on mapping to regex! More
First-pohmelie
thank you for itertools.compress() and itertools.product() with repeat parameter! More
First-azqueshu 1
interesting usage of hash, thank you) does it have any advantages over usual comparison? More
First-Rexze001
clear and smart usage of set, thank you) More
max columns sum-flpo
thanks for itemgetter idea - instead of lambda) More
First-biorockstar
very clear solution with minimal replacements, thank you!) how did you avoid re.error handling? More
First-eugene100372
very clear and useful solution, thanks a lot!) More
Second-eugen2005
smart usage of exception handlings, thank you for the idea) More
1 2 3
4
5