39
CDG.Axel
18 36 55 Leader of the month
9398/ 9695
Axel
Last seen 1 month ago
Member for 2 years, 9 months, 4 days
Difficulty Normal
Missions (257) / Solutions (349)
Best solutions / Newest solutions
Initiation
Pythonic
Sum Numbers
filter
map
isdigit
sum
split
10
3
Two solutions
All Upper I
upper
bool
str
7
2
slices
Replace First
typing.Iterable
Iterable
typing
list
2
one line or break
Remove All Before
enumerate
index
typing.Iterable
break
Iterable
1
6
if + slice
Remove All Before
index
typing.Iterable
Iterable
typing
inline-if
2
re findall
Split Pairs
findall
re.findall
re
8
4
len + set
All the Same
Any
typing.Any
List
typing.List
bool
6 solutions, different speed (fastest with map)
Count Digits
map
isdigit
sum
int
str
2
2
sum with for in one line
Count Digits
isdigit
sum
if-comprehension
comprehension
int
5
5
One liner - "for in if"
Sum Numbers
isdigit
sum
if-comprehension
list-comp
split
3
3
operand &
Is Even
bool
int
1
7
One liner
Correct Sentence
upper
inline-if
str
4
No exceptions...
Correct Sentence
upper
inline-if
str
3
2
Simple but non-universal
Between Markers (simplified)
index
str
16
1
Short with some description
Nearest Value
min
abs
set
lambda
int
1
Short (sorted + lambda)
Nearest Value
min
abs
set
lambda
sorted
2
Short
Beginning Zeros
lstrip
int
str
len
3
First
Split Pairs
zip
append
for
1
4
First
Max Digit
max
int
str
8
4
First
End Zeros
rstrip
int
str
len
4
Home
One line proc (65 symbols)
Three Words
isalpha
bool
join
in
split
19
1
Dict comprehension
Popular Words
dict-comp
dict
lower
count
split
78 symbols proc
Morse Decoder
capitalize
get
map
replace
join
15
1
sorted + key
Bigger Price
lambda
sorted
list
int
4
1
Triple truth
Three Words
map
isalpha
bool
join
in
14
4
One liner
Sun Angle
typing.Union
Union
typing
inline-if
int
6
One liner (but not clear)
Between Markers
find
None
inline-if
in
str
Two line
Sun Angle
typing.Union
Union
typing
inline-if
int
1
Short (replace by letters)
Morse Decoder
capitalize
replace
join
list-comp
split
split than join
Morse Decoder
capitalize
join
list-comp
split
comprehension
strptime strftime
Date and Time Converter
datetime.strptime
strptime
f-string
datetime.datetime
datetime
7
1
First
Date and Time Converter
datetime.strptime
strptime
datetime.datetime
datetime
inline-if
1
One liner
Split List
list
len
6
1
First
Sun Angle
typing.Union
Union
typing
or
inline-if
Chr + Ord
Pawn Brotherhood
chr
ord
set
or
if-comprehension
1
One liner - sorted tuple
Sort Array by Element Frequency
index
lambda
count
sorted
True
1
One liner with :=
Second Index
find
None
inline-if
int
str
3
Tuple -> Dict
Popular Words
dict
lower
count
split
list
5
One liner (for - if)
Non-unique Elements
count
if-comprehension
list-comp
list
comprehension
1
3 lines
Between Markers
find
inline-if
str
len
if
Two solutions (one line is slower)
Bigger Price
sort
lambda
True
list
int
1
slice join split
Backward Each Word
join
split
comprehension
str
15
datetime difference
Days Between
date
datetime.date
datetime
abs
Short
Right to Left
tuple
replace
join
str
5
replace + split
First Word
replace
split
str
Second
Three Words
isalpha
bool
False
True
split
2
One liner
Even the Last
inline-if
sum
list
int
2
Electronic Station
48 symbols proc with prod
Digits Multiplication
filter
map
None
int
str
14
1
2 lines proc
Words Order
index
bool
set
sorted
if-comprehension
2 proc for 3 lines (recursive)
Can You Pass?
set-comp
enumerate
or
if-comprehension
in
19
5 lines
Can You Pass?
set-comp
enumerate
while
if-comprehension
in
18
numpy.linalg.norm
Similar Triangles
numpy.linalg
linalg
itertools.starmap
starmap
numpy.array
1
Simple
Unix Match. Part 2
re.search
search
re
replace
bool
4
6
One-liner as multi-line
Find Sequence
set-comp
List
typing.List
bool
typing
1
4 one-liners with speed test
Ascending List
time.time
time
f-string
all
zip
9
3
reduce filtered map!
Digits Multiplication
functools.reduce
reduce
functools
filter
map
1
sorted strings
Verify Anagrams
replace
lower
sorted
str
1
Puzzled one-liner
Find Sequence
set-comp
any
List
typing.List
bool
7
1
10 lines
Find Sequence
any
List
typing.List
zip
map
dict & logical
Boolean Algebra
12
3
one or no and
Acceptable Password IV
map
isdigit
bool
or
sum
1
One liner (long line)
Brackets
replace
not
lambda
or
join
re.search
Unix Match. Part 1
re.search
search
re
replace
bool
1
len + set vs C-like
Surjection Strings
get
zip
enumerate
set
not
10
5
side proportion
Similar Triangles
Tuple
typing.Tuple
set-comp
List
typing.List
3
all before + len-set
Acceptable Password VI
find
map
isdigit
bool
set
one more comparison
Acceptable Password V
find
map
isdigit
bool
lower
1
len + any + map
Acceptable Password II
any
map
isdigit
bool
and
isupper + alternative
All Upper II
isupper
bool
str
count sides
Inside Block
Ellipsis
Tuple
typing.Tuple
bool
not
1
Broken head
Inside Block
Ellipsis
Tuple
typing.Tuple
bool
not
0 < sum < len > 6
Acceptable Password III
isdigit
bool
sum
list-comp
comprehension
1
isdigit + sum
Acceptable Password III
isdigit
bool
sum
list-comp
comprehension
1
reduce list without 0
Digits Multiplication
functools.reduce
reduce
functools
lambda
if-comprehension
one liner (rsplit + maxsplit)
Sort by Extension
rsplit
List
typing.List
typing
lambda
1
map and compare (3 lines)
Words Order
map
index
bool
set
lambda
2
Scientific Expedition
Short one-liner
The Most Wanted Letter
filter
isalpha
min
lower
lambda
1
5th
I Love Python!
BytesWarning
ReferenceError
BufferError
MemoryError
UnicodeDecodeError
nExT stage 4
I Love Python!
BytesWarning
ReferenceError
BufferError
MemoryError
UnicodeDecodeError
3 different solutions
Pangram
set-comp
ascii_lowercase
string.ascii_lowercase
as
string
nExT stage 3
I Love Python!
Template
string.Template
issubclass
callable
finally
3
nExT stage 2
I Love Python!
heappushpop
heapq.heappushpop
heapify
heapq.heapify
cmp_to_key
zip - zip
Cipher Map
List
typing.List
zip
enumerate
typing
3
2 solutions
Remove Accents
filterfalse
itertools.filterfalse
combining
unicodedata.combining
normalize
One long line or 3?
Call to Home
set-comp
List
typing.List
max
typing
1
nExT stage
I Love Python!
Enum
enum.Enum
enum
issuperset
AttributeError
One long line
YAML. More Types
isdecimal
splitlines
type
isinstance
filter
16
one line 59 symbols
Time Converter (24h to 12h)
f-string
int
10
2 lines with f-string
Morse Clock
zfill
f-string
replace
list-comp
split
1
one liner - join filter
Secret Message
filter
isupper
join
str
Two solutions (2 & 9 lines)
YAML. More Types
isdecimal
splitlines
isinstance
filter
strip
Two solutions (2 & 5 lines)
YAML. Simple Dict
splitlines
filter
strip
dict-comp
map
1
map capitalize
Conversion into CamelCase
capitalize
map
join
split
str
re.findlall
Conversion from CamelCase
findall
re.findall
re
lower
join
2
One liner with comments
The Most Wanted Letter
filter
collections.Counter
Counter
items
collections
One liner
Caps Lock
swapcase
enumerate
inline-if
join
list-comp
7
2
Two solutions with set
Pangram
set-comp
ascii_lowercase
string.ascii_lowercase
string
isalpha
1
Dictionary
Morse Clock
zfill
f-string
list-comp
split
comprehension
1
some cheat
Follow Instructions
Tuple
typing.Tuple
typing
count
int
8
1
sorted + set
Common Words
set
sorted
join
split
str
strip text
Bird Language
replace
inline-if
while
in
str
1
no type, no isinstance
Sum by Type
Tuple
typing.Tuple
typing
sum
join
1
one line 79 symbols
Time Converter (24h to 12h)
f-string
inline-if
int
6
2 cycles, 7 lines total
The Hidden Word
map
replace
lower
lambda
join
7
2
First solution
The Hidden Word
find
map
enumerate
None
replace
11
1
sorted + key=abs
Absolute Sorting
abs
sorted
list
O'Reilly
2 lines (84 symbols)
Sort Except Zero
iter
next
filter
None
inline-if
3
1
5 lines proc (simple)
Integer Palindrome
divmod
bool
while
append
int
14
1
One liner
Integer Palindrome
bool
if-comprehension
list-comp
range
comprehension
2
One liner
Count Inversions
enumerate
sum
comprehension
1
5 lines, pairs
Cipher Crossword
itertools.permutations
permutations
get
dict
itertools
5 lines brute force
Cipher Crossword
setdefault
all
zip
list-comp
comprehension
2
8 lines (fully commented)
Lightbulb More
datetime.min
datetime.max
typing.Union
Union
Optional
9
1
2 lines proc, weird
Reverse Every Ascending
lambda
inline-if
range
len
2
2
No time module
Time Converter (12h to 24h)
f-string
map
split
int
19
2
non-recursive + recursive solutions
How Deep
find
max
if-comprehension
list-comp
comprehension
2
4
One liner (long line)
Lightbulb End Watching
datetime.min
datetime.max
Optional
typing.Optional
datetime.datetime
2
2
One liner
Lightbulb Start Watching
datetime.datetime
datetime
List
typing.List
zip
3
1
4 lines, weird
Multiple Lightbulbs
typing.Union
Union
Optional
typing.Optional
Tuple
1
5
8 lines proc
Lightbulb Operating
typing.Union
Union
Optional
typing.Optional
datetime.timedelta
1
2
range'n'slice
Chunk
typing.Iterable
Iterable
typing
list-comp
range
16
i*0 != 0
How Deep
max
if-comprehension
list-comp
comprehension
11
10 lines, commented
Lightbulb Operating
typing.Union
Union
Optional
typing.Optional
datetime.timedelta
2
2
2 lines proc (one long)
Lightbulb End Watching
datetime.datetime
datetime
List
typing.List
zip
14
1
n*n/2
Loading Cargo
set-comp
min
abs
comprehension
for
3
3
Recursion
Loading Cargo
min
abs
not
inline-if
1
5 lines
Multiple Lightbulbs
typing.Union
Union
Optional
typing.Optional
Tuple
2
3
no type, 60 symbols
Flatten a List
inline-if
for
6
8 lines, 218 symbols
The Flat Dictionary
update
type
items
inline-if
else
64 symbols
Flatten a List
type
inline-if
int
for
1
slice'n'sort
Median of Three
typing.Iterable
Iterable
typing
sorted
list-comp
5 lines
Reverse Every Ascending
range
len
for
if
9
1
7 lines
Multiple Lightbulbs
typing.Union
Union
Optional
typing.Optional
Tuple
1
5
4 lines 230 symbols
Xs and Os Referee
dict-comp
tuple
List
typing.List
zip
1
5 lines, zip-transpose
Xs and Os Referee
List
typing.List
zip
enumerate
set
One liner 59 symbols
Compress List
zip
typing.Iterable
None
Iterable
typing
1
sorted once (60 symbols)
Frequency Sorting
List
typing.List
typing
lambda
count
9
Two lines (sorted + pop)
Sort Except Zero
filter
pop
typing.Iterable
None
Iterable
1
2 lines - sum, zip
Lightbulb Start Watching
Optional
typing.Optional
datetime.datetime
datetime
List
5
4
Short in symbols
Median
float
List
typing.List
sort
typing
2
First
Median
float
List
typing.List
sort
typing
2
One liner slice-if-else
Remove All After
index
typing.Iterable
Iterable
typing
inline-if
1
one liner - sum / zip
Lightbulb Intro
datetime.datetime
datetime
List
typing.List
zip
1
sum > len
Majority
bool
sum
list
len
2
try except
Index Power
except
try
list
int
2
slices
Replace Last
inline-if
list
2
Incinerator
set of walrus
Friends
class
issubset
frozenset
union
super
7
2
dataclass decorator
Building Base
dataclass
dataclasses
dataclasses.dataclass
class
float
First
Building Base
class
f-string
Idk how it works :)
Geometry Figures
ABC
abc.ABC
abc.abstractmethod
abstractmethod
abc
First
Multicolored Lamp
class
Decorator
Capital City
class
if
9
140 lines
The Warlords
class
clear
staticmethod
property
super
2
1
59 lines
The Lancers
vars
locals
class
staticmethod
update
10
73 lines
The Healers
class
staticmethod
property
super
type
84 lines
Straight Fight
class
clear
staticmethod
property
super
122 lines
The Weapons
class
clear
staticmethod
property
super
19
2
26 lines (dict as ancestor)
Voice TV Control
class
super
values
dict-comp
dict
7
1
abstract total()
3 Chefs
ABC
abc.ABC
abc.abstractmethod
abstractmethod
abc
First
Army Units
ABC
abc.ABC
abc.abstractmethod
abstractmethod
abc
70 lines
The Lancers
vars
locals
class
staticmethod
update
59 lines
The Vampires
vars
locals
class
staticmethod
update
53 lines
The Defenders
vars
locals
class
staticmethod
update
First solution
Army Battles
class
staticmethod
property
decorator
extend
6
First
The Warriors
class
property
decorator
pass
while
1
Mine
Two lines proc
Count Morse
startswith
replace
inline-if
sum
if-comprehension
1
Clear recursion
Count Morse
startswith
set
inline-if
sum
if-comprehension
8
1
3 lines proc
Ulam-Warburton Automaton Hex
union
update
set-comp
map
set
2
5
6 lines proc (commented)
Ulam-Warburton Automaton Hex
union
set-comp
tuple
zip
map
13
1
4 lines proc
Ulam-Warburton Automaton Hex
union
update
set-comp
tuple
zip
1
1
Recursive formula (commented)
Toothpicks
bin
inline-if
int
len
2
Formula (commented)
Toothpicks
bin
inline-if
sum
append
list-comp
14
One line proc (60 symbols)
Ulam–Warburton Automaton
sum
range
comprehension
int
2
One line proc (74 symbols)
Ulam–Warburton Automaton
max
sum
range
comprehension
int
18
Non-recursive 6 lines
Chess Knight
chr
ord
set
inline-if
sorted
2 lines proc
Bigger Together
map
min
max
join
list-comp
2 solutions (1 vs 2 lines)
Moore Neighbourhood
bool
sum
comprehension
1
math.gcd
The Greatest Common Divisor
int
1
Python 3.10
Binary Count
int
5 lines, commented
What Is Wrong With This Family?
update
get
items
bool
set
5
3
Fly trace (11 lines, commented)
Escape
List
typing.List
min
bool
not
8 lines
Find Enemy
tuple
ord
zip
map
index
10
12 lines, but clear (+commented)
Find Enemy
tuple
ord
zip
abs
max
re.sub
Currency Style
re.Match
Match
translate
re.sub
sub
10
3
One liner 85 symbols
Caesar Cipher (encryptor)
chr
ord
inline-if
join
comprehension
One liner + clear solution
Determinant
inline-if
sum
if-comprehension
range
list
One liner (long line)
Can Balance
iter
next
typing.Iterable
Iterable
typing
3
1
3(4) lines
Chess Knight
update
chr
ord
set
inline-if
2
two solutions 5 & 13 lines
The Einstein Problem-Lite
itertools.product
product
values
all
itertools
9
4 one line solutions
Best Stock
get
dict
max
str
2
One line 114 symbols
Caesar Cipher (decryptor)
chr
ord
isalpha
inline-if
join
2
One line 103 symbols
Fizz Buzz
inline-if
int
str
2
Ice Base
isdigit
Is String a Number?
isdigit
bool
print
False
True
One liner or not?
Oil Pie
Fraction
fractions.Fraction
fractions
functools.reduce
reduce
11
2 lines proc
Reverse Roman Numerals
enumerate
sum
and
comprehension
len
2 lines proc, weird
Roman Numerals
zip
lambda
split
One liner (awful)
Counting Tiles
itertools.product
product
functools.reduce
reduce
functools
3
4
2 points inside
Counting Tiles
all
any
list-comp
range
comprehension
15
2
Angles difference
Clock Angle
min
abs
int
One liner (awful)
How to Find Friends
set-comp
pop
set
lambda
if-comprehension
8
1
4 lines - redundant calcs
How to Find Friends
update
set
if-comprehension
in
list-comp
1
10 lines
Identify Block
divmod
set-comp
dict-comp
enumerate
sorted
3
1
Cut them all!
Reverse Roman Numerals
while
len
for
(-1) ** condition
Reverse Roman Numerals
enumerate
and
len
for
Hints idea
Roman Numerals
divmod
for
1
First
Roman Numerals
divmod
while
sum - for
Monkey Typing
find
set
lower
sum
list-comp
5 lines, non-recursive
Making Change
min
None
inline-if
if-comprehension
in
groupby and no itertools solution
Long Repeat
groupby
itertools.groupby
itertools
max
list
1
2 solutions: Pythonic and C-like
Count Chains
next
Tuple
typing.Tuple
reversed
filter
three solutions
Largest Rectangle in a Histogram
min
max
range
comprehension
len
findall with ^"
Find Quotes
findall
re.findall
r-string
re
max - min
The Most Numbers
min
max
inline-if
1
Alice In Wonderland
Simple and commented
15-puzzle Solvability
enumerate
index
bool
sum
if-comprehension
4
weird, up to 26
Peaceable Queens
round
inline-if
print
int
1
2
3 lines 122 symbols
The Fastest Horse
argmin
numpy.argmin
statistics.mode
mode
statistics
2
1
6 lines proc (commented, no import)
Flood Area
enumerate
pop
sum
if-comprehension
and
3
3
10 lines proc (commented)
Flood Area
enumerate
pop
while
elif
and
2
Stack - better than first solution...
Flood Area
enumerate
while
if-comprehension
and
list-comp
One liner (but not clear)
Tree Walker
type
values
dict
inline-if
sum
4
1
2 solutions (one line and 5 lines)
The Fastest Horse
index
min
max
count
append
1
7 lines
The Shortest Knight's Path
difference_update
update
set-comp
ord
while
Dark magic
Multiplication Table
f-string
inline-if
sum
while
comprehension
7
2
slice'n'len
Middle Characters
len
16
1
One liner
Swap Nodes
filter
zip
None
sum
list-comp
8
First
Swap Nodes
range
len
for
4 lines
IP Network: Route Summarization
next
f-string
zip
enumerate
set
16
map - zip
Transposed Matrix
List
typing.List
zip
map
typing
2
itertools.count
Zigzag Array
itertools.count
next
itertools
List
typing.List
Three solutions (86, 96, 99 symbols)
Zigzag Array
List
typing.List
typing
inline-if
list-comp
1
2 solutions: *map vs strptime
When is Friday?
datetime.strptime
strptime
reversed
datetime.datetime
date
1
simple recursion
Tree Walker
type
values
dict
sum
list
7
2
GitHub
7 lines proc (commented)
Simplify Unix Path
rstrip
pop
join
elif
and
6
2 solutions
The End of Other
endswith
any
map
comprehension
8
1
6 lines
Open Labyrinth
difference_update
update
set-comp
dict-comp
items
one line 51 symbols
Expand Intervals
typing.Iterable
Iterable
typing
list-comp
range
7 lines
Merge Intervals
tuple
map
max
and
append
9
1
6 lines, commented
The Cheapest Flight
update
copy
get
any
List
12
1
one cycle, 6 lines
Create Intervals
enumerate
None
inline-if
sorted
and
85 symbols
The Most Frequent Weekdays
calendar.day_name
day_name
calendar.weekday
weekday
calendar
19
2
Dumb solution
The Most Frequent Weekdays
calendar.day_name
day_name
calendar
datetime.timedelta
timedelta
One liner + 2 another solution
The Highest Building
zip
map
index
max
sum
6
3
First
Create Intervals (generator version)
yield
not
sorted
for
if
Dropbox
Unclear 8 lines proc
Calculator-II
isdigit
lambda
inline-if
in
False
1
1
13 lines proc
Calculator-III
is
None
abs
isdigit
lambda
1
could 12 lines proc be clear?
Calculator-II
isdigit
lambda
or
inline-if
in
1
4
8 lines proc
Calculator-I
isdigit
inline-if
in
elif
False
1
2
10 lines proc, simple
Calculator-I
isdigit
inline-if
in
elif
False
2
5
4 lines less but weird
Huffman Encode
fromkeys
dict-comp
dict
items
set
1
2
Make it shorter (commented)!
Huffman Encode
fromkeys
dict
count
or
sorted
1
2
2 lines (packed from 10)
Scytale Encryption
None
inline-if
join
if-comprehension
in
11
1
7 lines proc
Rotating Grille Cipher
zip
map
enumerate
pop
None
3
1
Weird 7 lines
Rotating Grille Cipher
zip
pop
None
count
inline-if
2
1
9 lines proc
Rotating Grille Cipher
zip
pop
None
count
inline-if
2
Chr + Ord
Atbash Cipher
chr
islower
ord
isalpha
inline-if
3
1
Evil math
Three Points Circle
eval
f-string
round
2 func for 6 lines total
Text Formatting
textwrap.wrap
wrap
textwrap
rstrip
divmod
1
1
2 functions for 7 lines total
Text Formatting
textwrap.wrap
wrap
textwrap
rstrip
divmod
1
1
wrap or not?
Text Formatting
textwrap.wrap
wrap
textwrap
rstrip
f-string
18
4
One liner
Simple Hashlib
eval
math is not programming (4 lines)!
Humpty Dumpty Form
asinh
math.asinh
math.asin
asin
math.pi
2
One line 118 symbols
Hubspot Amulet
numpy.matmul
matmul
itertools.product
product
next
4
1
1 line and 3 line solutions
Hubspot Amulet
itertools.product
product
next
itertools
sum
10
2 one-line functions
On the same path
typing.Union
Union
Tuple
typing.Tuple
any
5
2 + 1 long lines
Speech Module
divmod
f-string
strip
inline-if
1
PyCon TW
Simple commands
Digit Stack
pop
inline-if
elif
append
else
One liner in 3 lines
Double Substring
find
max
if-comprehension
range
comprehension
1
7 lines proc
Calculate Islands
set-comp
enumerate
pop
sorted
while
8
1
8 lines proc
Fused Cubes
update
set-comp
set
while
list-comp
1
3
16 lines, commented
Express Delivery
difference_update
update
set-comp
copy
dict-comp
4
1
25 lines, commented
Express Delivery
difference_update
itertools.permutations
permutations
update
copy
One liner vs Clear
How Much Gold
items
inline-if
sum
in
comprehension
Storage
Same 2 lines but shorter
The Rows of Cakes
frozenset
set-comp
sum
if-comprehension
comprehension
19
1
2 lines proc (commented)
The Rows of Cakes
frozenset
set-comp
tuple
map
set
1
3 lines proc (commented)
Saw the Stick
max
sum
if-comprehension
list-comp
range
2 lines proc
Working Hours Calculator
map
sum
if-comprehension
range
comprehension
1
1
3 lines proc
Working Hours Calculator
map
sum
and
split
range
7
3 lines proc
List Beautify
rjust
f-string
zip
map
enumerate
15
5 lines, weird
Digging a Canal
iter
dict-comp
pop
index
min
1
Simple 10 lines
Digging a Canal
heappush
heapq.heappush
heappop
heapq.heappop
heapq
divmod found!
Playfair Cipher
functools.partial
partial
fromkeys
isalnum
digits
9
2
wanted divmod!
Playfair Cipher
functools.partial
partial
fromkeys
isalnum
digits
3
1
One liner 69 symbols
Word Pattern
isdigit
join
comprehension
int
9
Reduced
English to Braille Translator
extend
f-string
dict-comp
chr
ord
1
1
Simplified
English to Braille Translator
extend
f-string
dict-comp
chr
ord
8
1
HubSpot
9 lines total
Supply Line
union
set-comp
chr
ord
map
Recursed one-liner
Restricted Sum
inline-if
len
2
4 lines proc
Node Disconnected Users
difference_update
set-comp
set
or
inline-if
1
6 lines proc
New Cities
difference_update
set-comp
pop
set
sum
3 lines proc
New Cities
update
map
set
not
sum
15
Weekstart shift
Weekly Calendar
datetime.timedelta
timedelta
date
datetime.date
datetime
6
1
bit_count
The Hamming Distance
2
non-int one-liner
Number Base
ord
map
enumerate
max
lambda
11
2
non-int solution
Number Base
ord
map
or
inline-if
False
2
Blizzard
One line proc
Weekend Counter
datetime.timedelta
timedelta
datetime
sum
range
1
9 lines proc (commented)
Radiation Search
set-comp
enumerate
pop
set
max
8 lines proc
Radiation Search
set-comp
enumerate
pop
set
max
19
Slash-it
Palindromic Palindrome
lambda
13
1
4 vs 5 lines proc
Reversed Permutation Index
divmod
yield
pop
while
range
4 lines proc
Spaceship Landing Strip
all
max
in
list-comp
range
One liner
Mountain Scape
set-comp
range
comprehension
len
1
6 lines, commented
Mountain Scape
Tuple
typing.Tuple
List
typing.List
set
7
1
One line 106 symbols
Permutation Index
math.factorial
factorial
Tuple
typing.Tuple
math
5
Simple
Unlucky Days
calendar.weekday
weekday
calendar
sum
range
One line 113 symbols
Permutation Index
math.factorial
factorial
Tuple
typing.Tuple
math
20
2
Rock
8 lines
Water Jars
add
pop
min
max
while
Shelter
round and **
The Nearest Square Number
round
19
6 lines, commented
Landing Site
set-comp
chr
ord
set
inline-if
7
Binary hardcore aka z.join
Pattern Recognition
ljust
map
join
list-comp
range
2
2
Binary masks, commented, 6 lines
Pattern Recognition
itertools.product
product
itertools
map
lambda
2
4
Boring solution
Pattern Recognition
itertools.product
product
itertools
map
list-comp
7
2
18 lines Shoot'em'all
Fortress Cannons
itertools.product
product
set-comp
dict-comp
itertools
2
Less line but weird
Landing Site
typing.Set
Set
set-comp
filter
collections.Counter
4
1
all distances
Landing Site
typing.Set
Set
set-comp
collections.Counter
Counter
3
2 vs 3 vs 5 lines
Seven Segment
set
lower
sum
comprehension
12 lines
One line Drawing
None
not
or
inline-if
for
10
10 lines: complex isn't complex
The Lantern Festival
set-comp
enumerate
not
while
if-comprehension
1
4
Right wall
The Lantern Festival
not
count
sum
while
and
9 lines total
ADFGVX Cipher
fromkeys
isalnum
iter
divmod
next
3
3
Too heavy
ADFGVX Cipher
ljust
rstrip
divmod
values
dict-comp
4
2 functions, 3+1 lines
Halloween Monsters
collections.Counter
Counter
all
items
collections
7
What is the last tests?
Completely Empty
TypeError
all
map
except
try
Codeship
10 lines proc
The Territory of Go
set-comp
dict-comp
enumerate
pop
set
1
Slightly optimized
Ugly Numbers
min
while
range
int
for
7
For test
Ugly Numbers
min
while
append
int
len
8
1
9 lines (2nd try)
Behind 2048
filter
any
zip
map
index
5
3
15 lines
Eaten Go Stones
copy
dict-comp
upper
lower
count
one line recursive with @lru_cache
Probably Dice
functools.lru_cache
lru_cache
decorator
functools
None
10
1
Dumb solution
Probably Dice
dict-comp
get
inline-if
in
range
14 lines
Behind 2048
iter
next
filter
any
zip
4
1
30 lines
Behind 2048
iter
next
filter
any
zip
5
1
Hermit
Walrus one-liner
Unique Email Addresses
set-comp
replace
lower
split
list
6
Continue quest
Unique Email Addresses
add
continue
replace
set
lower
5
2 solutions
Break Rings
map
min
set
len
26 ** idx
Excel Column Number
ord
enumerate
sum
print
comprehension
1
30 lines, no eval
Simplification
numpy.polynomial.Polynomial
Polynomial
mul
operator.mul
operator
First
Backspace Apply
print
else
str
for
if
3
1
timedelta & weekday
Birthday Party
datetime.timedelta
timedelta
date
datetime.date
datetime
2
1
sub f-string
Fractions Addition
Fraction
fractions.Fraction
fractions
divmod
f-string
7
merging, no re
Keywords Finder
find
max
lower
print
sorted
15
1
Watchtower
suppress
Compare Functions
contextlib.suppress
suppress
contextlib
with
Exception
16
1
10 lines, commented
Boundary Blocks
difference_update
fromkeys
update
Tuple
typing.Tuple
2
3 lines proc (fast)
DNA Common Sequence
set-comp
decorator
find
map
enumerate
4
2 lines proc, weird
DNA Common Sequence
set-comp
decorator
find
map
enumerate
2
5 lines proc but lru_cache
DNA Common Sequence
functools.lru_cache
lru_cache
set-comp
decorator
functools
1
Not On Map
Counter or not? (2 solutions)
Most Wanted Letter
filter
values
isalpha
set
max
13