16
Denis_Gerashchenko
2 14 32
1187/ 1445
Last seen 4 years ago
Member for 5 years, 6 months, 29 days
Difficulty Normal
Missions (81) / Solutions (54)
Best solutions / Newest solutions
Initiation
Takoe chto-to
The Most Frequent
max
count
append
range
list
First
Between Markers (simplified)
split
str
First
First Word (simplified)
split
str
from collections import Counter
All the Same
Any
typing.Any
collections.Counter
Counter
collections
2
Home
datetime is awesome
Days Between
date
datetime.date
datetime
abs
First
Popular Words
dict
lower
count
split
range
Clear head-to-head
Sort Array by Element Frequency
extend
add
continue
set
sorted
Head to Head Solution
Pawn Brotherhood
IndexError
index
None
except
try
In minutes
Sun Angle
time.strptime
time
strptime
or
else
2
It's fine for me
Non-unique Elements
count
append
range
list
len
2
It's fine
Non-unique Elements
count
append
range
list
len
2
Electronic Station
Another long head-to-head
Brackets
continue
IndexError
pop
except
try
Counter is my hero
Verify Anagrams
collections.Counter
Counter
collections
replace
lower
1
Scientific Expedition
Search in numpy.array() or in numpy.array().transpose()
The Hidden Word
splitlines
numpy.array
array
numpy
map
9
Formatting the strings
Morse Clock
f-string
replace
join
split
int
2
With regex
Striped Words
findall
re.findall
r-string
re
lower
I think it's common
Common Words
sorted
join
in
append
split
First
Time Converter (24h to 12h)
time.strftime
time.strptime
strftime
time
strptime
Thanks, google
Conversion into CamelCase
capitalize
or
join
split
comprehension
rieeegoeeexa
Bird Language
re.sub
sub
r-string
re
2
For later
The Most Wanted Letter
isalpha
min
max
lower
count
O'Reilly
I am glad that I've learned regex and time modules once
Time Converter (12h to 24h)
time.strftime
time.strptime
strftime
time
strptime
1
import statistics; return statistics.median(data) (1 minute in google)
Median
statistics.median
statistics
median
float
List
3
Recursion. Exactly 140 symbols
Flatten a List
isinstance
append
else
int
for
2
Creating a list of all lines and searching for patterns
Xs and Os Referee
List
typing.List
typing
count
elif
2
Incinerator
Yea, fight each other!
The Warriors
class
break
while
False
and
Mine
OOP
What Is Wrong With This Family?
class
object
values
None
in
20
Regex, could be used with negative delta
Caesar Cipher (encryptor)
re.sub
sub
islower
index
re
Regex: re.sub(pattern, repl, text)
Caesar Cipher (encryptor)
re.sub
sub
index
re
else
2
First
Binary Count
bin
count
1
Ice Base
I like recursion!
How to Find Friends
continue
in
False
append
True
19
Clear
Monkey Typing
set
lower
in
range
list
1
Alice In Wonderland
Run, horse, run!
The Fastest Horse
collections.Counter
Counter
collections
map
enumerate
Look at my horse, my horse is amazing
The Fastest Horse
collections.Counter
Counter
collections
map
enumerate
Recursion
Digits Doublets
remove
zip
map
min
None
Vec
Multiplication Table
f-string
sum
elif
append
list-comp
GitHub
I do believe in magic now
Solution for Anything
class
True
Dropbox
Sympy is a very powerful tool
Three Points Circle
N
sympy.N
Eq
sympy.Eq
sympy.solve
14
1
42
The Best Number Ever
len
1
PyCon TW
-1
Network Attack
extend
dict
items
map
enumerate
Recursive scanning
Calculate Islands
get
continue
IndexError
except
try
It's clear and elegant, I found it on a GitHub from a user txytju and added some improvements
Double Substring
break
max
in
append
range
Storage
itertools.permutations, multiple assigment, the equation
The Rows of Cakes
itertools.permutations
permutations
extend
itertools
map
Recursion and generator
Saw the Stick
next
while
append
comprehension
if
HubSpot
Two-liner
The Hamming Distance
format
tuple
zip
map
lambda
1
Eval() + f-strings = magic
Restricted Sum
eval
f-string
1
Blizzard
First
The Angles of a Triangle
math.acos
acos
math.pi
pi
round
1
Shelter
Hello, sets
Seven Segment
itertools.permutations
permutations
islower
itertools
isupper
3
Recursion and type-checking for recursion
Completely Empty
iter
type
isinstance
keys
dict
Codeship
Monster solution
The Square Chest
List
typing.List
None
abs
break
Watchtower
For every number let's throw one angry dog in a bag and then lets count how many dogs are there
Funny Addition
f-string
print
append
range
len
Escher
with regex
The Stone Wall
fullmatch
re.fullmatch
splitlines
filter
f-string
2
Smth like this
The Ship Teams
itemgetter
operator.itemgetter
operator
keys
dict
Yeiks!
Ground for the House
splitlines
reversed
filter
ValueError
None