27
Merzix
17 39 55 Leader of the month
4108/ 4195
Last seen 4 years ago
Member for 8 years, 7 months, 19 days
Difficulty Normal
Missions (164) / Solutions (198)
Best solutions / Newest solutions
Initiation
__mul__
Multiply (Intro)
int
3
6
First
Easy Unpack
tuple
First
The Most Frequent
collections.Counter
Counter
collections
list
str
First
All the Same
Any
typing.Any
is
all
List
Home
First
Non-unique Elements
enumerate
or
if-comprehension
in
list-comp
9
1
Another way
Non-unique Elements
copy
remove
set
if-comprehension
in
10
5
First
First Word
continue
break
join
in
append
First
Date and Time Converter
f-string
inline-if
int
str
First
Sort Array by Element Frequency
enumerate
lambda
sorted
in
else
First
Three Words
isalpha
False
True
split
int
First
Pawn Brotherhood
set-comp
ord
set
sum
in
First
Even the Last
not
inline-if
sum
First
Sun Angle
round
not
list-comp
split
comprehension
First
Popular Words
dict
zip
lower
in
split
First
Days Between
datetime.datetime
datetime
abs
OOP
Sort Array by Element Frequency
class
iter
values
enumerate
sorted
1
First
Bigger Price
lambda
sorted
list
int
1
First
Morse Decoder
capitalize
isalpha
join
list-comp
split
Little faster then others
Non-unique Elements
count
or
in
append
for
First
Between Markers
ValueError
index
None
except
try
First
Right to Left
replace
join
Electronic Station
First
Surjection Strings
collections.Counter
Counter
collections
zip
bool
6
1
combinations & starmap from itertools
Ascending List
lt
operator.lt
itertools.starmap
starmap
combinations
13
Not use len, set, for
Ascending List
pop
typing.Iterable
Iterable
bool
not
Second
Digits Multiplication
mul
operator.mul
operator
functools.reduce
reduce
First
Can You Pass?
collections.deque
deque
collections
pop
None
Nothing interesting
Surjection Strings
zip
continue
bool
in
False
2
First
Find Sequence
all
any
zip
map
inline-if
comare items[:-1] and items[1:]
Ascending List
all
zip
typing.Iterable
Iterable
bool
1
First
Digits Multiplication
functools.reduce
reduce
functools
lambda
if-comprehension
2
1-liner property check
Ascending List
typing.Iterable
Iterable
bool
set
typing
1
First
Verify Anagrams
collections.Counter
Counter
values
all
collections
First
Brackets
not
or
in
elif
False
Scientific Expedition
Simple logic implementation
Conversion into CamelCase
upper
continue
lower
inline-if
join
4
Due 2 stackoverflow
Remove Accents
category
unicodedata.category
normalize
unicodedata.normalize
unicodedata
14
1
Second (first is much better)
Striped Words
upper
continue
isalpha
None
isdigit
1
First
I Love Python!
First
Conversion from CamelCase
isupper
lower
inline-if
join
comprehension
First
Bird Language
continue
inline-if
join
in
append
First
Time Converter (24h to 12h)
f-string
map
split
int
use Counter
Follow Instructions
collections.Counter
Counter
collections
1
First
Cipher Map
zip
join
if-comprehension
list-comp
range
1
Clear 1-liner
Conversion into CamelCase
capitalize
map
lambda
join
split
First
Caps Lock
upper
continue
not
inline-if
join
First
Pangram
ascii_lowercase
string.ascii_lowercase
string
set
lower
Second
Secret Message
istitle
filter
join
str
2
First
Common Words
map
lambda
sorted
join
if-comprehension
Crazy bool
Striped Words
upper
continue
isalpha
isdigit
not
First
The Most Wanted Letter
KeyError
dict-comp
chr
items
continue
with zip_longest from itertools
The Hidden Word
itertools.zip_longest
zip_longest
splitlines
itertools
enumerate
Academic
Call to Home
math.ceil
ceil
collections.defaultdict
defaultdict
values
First
Absolute Sorting
tuple
abs
lambda
sorted
list
First
Secret Message
istitle
join
if-comprehension
list-comp
comprehension
1
O'Reilly
Nimble
Flatten a List (generator version)
type
yield
is
list
else
2
list -> str
Flatten a List (generator version)
strip
if-comprehension
list-comp
split
comprehension
2
2-liner
Flatten a List (generator version)
type
is
inline-if
list
for
8
using re (based on First by fed.kz)
Flatten a List (generator version)
findall
re.findall
r-string
map
re
12
It`s the hell of mess
Determine the Order
yield
extend
filter
add
continue
16
readable != understandable
The Flat Dictionary
update
type
is
dict
items
First
Time Converter (12h to 24h)
match
re.match
f-string
r-string
re
First
Xs and Os Referee
List
typing.List
typing
in
and
OOP (tree)
Loading Cargo
class
property
decorator
enumerate
min
Islice
Median of Three
islice
itertools.islice
itertools
enumerate
typing.Iterable
Islice (no generator)
Median of Three
islice
itertools.islice
yield
itertools
enumerate
First
Reverse Every Ascending
extend
sorted
append
True
else
1
Just combinations
Count Inversions
combinations
itertools.combinations
itertools
sum
comprehension
First
Frequency Sorting
collections.Counter
Counter
collections
max
lambda
First
Flatten a List
type
extend
replace
inline-if
join
First
Index Power
inline-if
list
int
len
First
Median
float
List
typing.List
typing
sorted
Incinerator
First
The Lancers
class
Exception
raise
property
super
3
Easy scalable
Army Units
ABCMeta
abc.ABCMeta
AttributeError
abc
functools.partial
6
First
3 Chefs
class
f-string
sum
append
list-comp
16
My own Frankenstein
The Healers
finally
class
Exception
raise
property
20
2
First
The Vampires
class
Exception
raise
property
super
First
The Warriors
class
Exception
raise
property
super
1
First
Every Person is Unique
class
datetime.strptime
strptime
f-string
datetime.datetime
First
Microwave Ovens
class
divmod
property
super
decorator
First
The Defenders
class
Exception
raise
property
super
First
Dialogues
ABCMeta
abc.ABCMeta
abc
class
Exception
First
Multicolored Lamp
class
len
First
Army Battles
class
Exception
raise
property
super
First
Voice TV Control
class
type
not
inline-if
list
First
Party Invitations
class
f-string
remove
append
for
First
Text Editor
class
property
decorator
format
dict
First
Building Base
class
property
decorator
f-string
Mine
Like a cheetah
Chemical Analysis
filter
islower
get
isupper
pop
1
Сomplicated, but very fast
Fast Train
islice
itertools.islice
all
itertools
zip
2
2
Lightning
Currency Style
enumerate
isdigit
join
in
elif
3
rfind & format
Cut Sentence
rfind
f-string
inline-if
len
if
9
Trans-Siberian Express
Fast Train
islice
itertools.islice
math.ceil
ceil
collections.Counter
14
Devilry
Achilles and the Tortoise
operator.sub
mul
operator.mul
combinations
itertools.combinations
First
Caesar Cipher (encryptor)
chr
ord
continue
join
while
Second
Best Stock
items
None
for
if
First
Best Stock
lambda
sorted
True
5
Short 1-liner
Cut Sentence
format
lambda
inline-if
join
split
First
Can Balance
enumerate
typing.Iterable
Iterable
typing
int
5
Second
Binary Count
inline-if
First
Achilles and the Tortoise
round
gcd + reduce
The Greatest Common Divisor
math.gcd
gcd
functools.reduce
reduce
functools
1
First
Binary Count
repr
bin
count
Ice Base
I know it's awful
Making Change
math.ceil
ceil
copy
math
continue
10
2
Like to forward two bytes
Morse Encoder
get
lower
join
comprehension
14
2
First
Long Repeat
None
max
not
append
else
17
1
With split()
Reverse Roman Numerals
keys
dict
continue
pop
inline-if
First
Roman Numerals
pop
lambda
join
while
append
Second
Roman Numerals
pop
lambda
join
while
append
Second
Monkey Typing
set
lower
sum
in
comprehension
2
Intricate-pucrutch
How to Find Friends
add
set
inline-if
sorted
in
If-else logic
Feed Pigeons
while
else
if
1
First
Largest Rectangle in a Histogram
enumerate
max
for
if
First
Monkey Typing
set
lower
in
int
str
Alice In Wonderland
fliplr & rot90 from numpy
Transposed Matrix
fliplr
numpy.fliplr
numpy.rot90
rot90
numpy
2
use datetime
When is Friday?
datetime.strptime
strptime
datetime.datetime
datetime
3
3
First
Multiplication Table
f-string
lambda
inline-if
sum
list-comp
10
Optimized
Long Non Repeat
index
max
inline-if
join
in
20
1
Freak
Transposed Matrix
fliplr
numpy.fliplr
numpy.rot90
rot90
numpy
map & zip
Transposed Matrix
List
typing.List
zip
map
typing
No frills
Zigzag Array
List
typing.List
not
typing
inline-if
list comprehensions
Transposed Matrix
List
typing.List
typing
list-comp
range
1
First
Long Non Repeat
break
max
inline-if
join
in
First
Digits Doublets
copy
is
remove
zip
min
First
The Fastest Horse
zip
map
enumerate
min
lambda
GitHub
First
Create Intervals (iterator version)
StopIteration
next
yield
continue
break
1
First
Create Intervals (generator version)
yield
None
not
sorted
else
8
Yield from range()
Expand Intervals
typing.Iterable
Iterable
typing
range
for
15
First
Solution for Anything
class
pass
lambda
True
First
Broken Clock
datetime.strptime
strptime
datetime.timedelta
timedelta
datetime.datetime
First
Merge Intervals
union
functools.reduce
reduce
functools
set
First
Create Intervals
is
None
sorted
elif
append
First
The End of Other
endswith
pop
or
while
False
Triangle breakdown
Area of a Convex Polygon
abs
sum
list-comp
range
comprehension
Dropbox
Safety
Simple Hashlib
hashlib.md5
md5
hashlib
eval
f-string
First
Worth of Words
max
sum
comprehension
First
Numbers Factory
reversed
map
sorted
join
while
First
The Longest Palindromic
yield
in
range
len
for
1
First
Simple Hashlib
eval
f-string
First
Speech Module
else
if
Math only
Humpty Dumpty Form
math.atanh
atanh
math.asin
asin
math.pi
Mystery
The Best Number Ever
class
int
PyCon TW
No beauty here
Ryerson Letter Grade
divmod
strip
max
elif
int
1
First
House Password
ord
bool
not
in
elif
1
First
Digit Stack
startswith
pop
elif
and
append
2
One cycle
House Password
islower
isupper
isdigit
bool
not
Storage
First
Group Equal consecutive
OrderedDict
collections.OrderedDict
items
collections
None
1
Get by two
Group Equal consecutive
yield
enumerate
append
else
for
1
First
Weak Point
dict-comp
get
zip
enumerate
min
clear == inefficient**2
Saw the Stick
itertools.accumulate
accumulate
itertools
round
index
Using itertools.combinations_with_replacement()
Skew-symmetric Matrix
combinations_with_replacement
itertools.combinations_with_replacement
all
itertools
range
HubSpot
Second
New Cities
is
all
continue
None
or
4
First
New Cities
frozenset
all
map
continue
set
My precious
Node Disconnected Users
extend
add
items
continue
pop
First
Number Base
ValueError
except
try
int
str
1-liner recursive
Restricted Sum
pop
lambda
inline-if
1-liner
The Hamming Distance
f-string
map
lambda
sum
int
1
Blizzard
1-liner
Rectangles Union
Tuple
typing.Tuple
set-comp
List
typing.List
8
2-liner with cycle from itertools
Weekend Counter
cycle
itertools.cycle
itertools
sum
list-comp
17
6
First
Unlucky Days
datetime.datetime
datetime
sum
range
comprehension
1
First
The Angles of a Triangle
math.degrees
degrees
math.acos
acos
round
2
Head-on
The First Working Day
datetime.strftime
strftime
datetime.strptime
strptime
datetime.timedelta
First
Stressful Subject
any
map
continue
isupper
replace
Just readable
Weekend Counter
datetime.timedelta
timedelta
datetime
lambda
while
Shelter
Hack, bruteforce using kurosawa4434's checker code
Fortress Cannons
string.index
class
frozenset
iter
ascii_uppercase
1
A little crazy (most likely wrong)
Completely Empty
dir
TypeError
all
any
except
5
Short and clear
Seven Segment
set-comp
values
islower
add
upper
17
1
First
ADFGVX Cipher
OrderedDict
collections.OrderedDict
extend
dict-comp
items
Hermit
Как тебе такое, И̶л̶о̶н̶ ̶М̶а̶с̶к̶ Phil15 ?
Count Consecutive Summers
while
20
Watchtower
7 options
Funny Addition
random.shuffle
shuffle
exec
random.choice
choice
NO if-else
Compare Functions
Exception
is
None
except
try
Escher
set comprehension + symmetric_difference + sorted
The Ship Teams
set-comp
keys
items
or
sorted
1
2
4-liner!
The Stones
dict-comp
any
if-comprehension
False
range
1
3
8-liner
The Buttons
splitlines
filter
map
bool
not
1
1
using OrderedDict
Treasures
OrderedDict
collections.OrderedDict
f-string
values
get
1
1
Pure magic after zip spell
The Secret Room
inline-if
len
1
2
First
Wild Dogs
round
min
abs
inline-if
if-comprehension
1
2
Without OrderedDict
Treasures
f-string
min
break
not
lambda
1
Effective, no regex
Safe Code
discard
TypeError
digits
string.digits
raise
1
Second
Ground for the House
index
min
max
inline-if
in
1
Use reduce
Card Game
mul
operator.mul
operator
functools.reduce
reduce
1
1
First
The Ship Teams
items
map
or
sorted
append
2
10
10-liner (clear & speedy)
The Tower
frozenset
itertools.permutations
permutations
values
get
2
re + eval = perfect
Safe Code
discard
TypeError
startswith
raise
eval
2
No regex, no eval, use operators
Safe Code
operator.sub
operator.add
discard
mul
operator.mul
2
Add turbo speed only for cases 12 < path < 21 and n == 5
Graphical Key
Exception
raise
itertools.product
product
extend
3
2
10-liner
Hypercube
itertools.product
product
any
itertools
None
4
1
Fixed First (additional asserts )
Ground for the House
zip
map
enumerate
not
join
7
if statement as index
The Ship Teams
items
sorted
append
for
9
1
Caution! Pure magic.
The Secret Room
9
3
Skeleton key
Graphical Key
Exception
raise
itertools.product
product
any
9
Crystal clear
Hypercube
itertools.product
product
is
any
itertools
10
rows -> columns -> min(count('#'))
The Stone Wall
splitlines
zip
map
enumerate
min
20
1-line if use import (num2word.to_card() or inflect.engine().number_to_words())
The Secret Room
index
lambda
sorted
list-comp
range
20
Create deck, remove cards from deck
Card Game
add
remove
set
sorted
in
2
Could be shorter?
The Stone Wall
splitlines
zip
map
index
min
2
dict(subjects: (x,y)) -> sum(distance_between('Y', subject))
Compass, Map and Spyglass
type
values
dict-comp
enumerate
pop
3
First
Ground for the House
zip
in
and
split
for
1
Remove_zero_lines -> rotate,mirror & compare
Keys and Locks
reverse
join
if-comprehension
in
list-comp
Not On Map
First
Most Wanted Letter
collections.defaultdict
defaultdict
ascii_lowercase
string.ascii_lowercase
values