41
mortonfox
16 33 48 Leader of the month
10820/ 11730
Last seen 1 day ago
Member for 7 years, 8 months
Difficulty Normal
Missions (504) / Solutions (530)
Best solutions / Newest solutions
Initiation
First
Nearest Value
min
abs
set
lambda
int
1
37
First
Acceptable Password I
bool
str
len
1
19
Second
Count Digits
isdigit
sum
comprehension
int
str
1
12
First
Beginning Zeros
re.sub
sub
r-string
re
int
20
First
Correct Sentence
upper
str
if
First
Split Pairs
itertools.zip_longest
zip_longest
iter
itertools
join
1
First
The Most Frequent
set
max
count
First
End Zeros
re.sub
sub
r-string
re
int
First
Sum Numbers
except
try
sum
split
comprehension
1
First
Number Length
int
str
len
First
All Upper I
upper
bool
str
First
Multiply (Intro)
First
Remove All Before
index
typing.Iterable
Iterable
except
try
First
Backward String
str
First
Between Markers (simplified)
find
str
First
Count Digits
re.sub
sub
r-string
re
int
First
Is Even
bool
int
1
First
Replace First
list
First
Max Digit
max
int
str
Second
Sum Numbers
findall
re.findall
r-string
re
sum
1
First
Easy Unpack
tuple
comprehension
First
First Word (simplified)
split
str
First
All the Same
Any
typing.Any
all
List
typing.List
Home
First
Split List
list
len
1
4
First
Changing direction
zip
print
list
int
for
1
4
First
Missing Number
zip
min
print
sorted
list
First
Popular Words
re.I
I
findall
re.findall
dict
First
Duplicate Zeros
from_iterable
itertools.from_iterable
chain
itertools.chain
itertools
First
Morse Decoder
capitalize
lambda
join
split
comprehension
1
First
Sort Array by Element Frequency
collections.Counter
Counter
collections
index
lambda
1
First
Bigger Price
itemgetter
operator.itemgetter
operator
sorted
True
First
First Word
re.search
search
r-string
re
inline-if
1
First
Date and Time Converter
datetime.strptime
strptime
datetime.datetime
datetime
lambda
First
Backward Each Word
re.sub
sub
r-string
re
lambda
First
Second Index
find
None
inline-if
str
if
First
Between Markers
find
elif
else
str
len
First
Sun Angle
round
or
inline-if
list-comp
split
First
Three Words
isalpha
False
True
split
else
First
Days Between
date
datetime.date
datetime
abs
First
Pawn Brotherhood
chr
ord
continue
in
int
First
Non-unique Elements
count
if-comprehension
list-comp
comprehension
First
Right to Left
replace
join
First
Even the Last
range
len
for
if
Electronic Station
First
Cipher Dict (decryption)
pop
not
sorted
while
append
3
First
Blood distribution
min
for
5
First
Cipher Dict
pop
not
or
False
and
5
Second
Inside Block
math.hypot
hypot
math.acos
acos
math.pi
13
1
First
Remove Brackets
break
lambda
join
while
if-comprehension
14
First
Mathematically Lucky Tickets
Fraction
fractions.Fraction
fractions
union
add
15
First
Acceptable Password VI
all
any
isdigit
bool
set
First
Acceptable Password V
all
any
isdigit
bool
not
First
Acceptable Password III
all
any
isdigit
bool
not
First
Surjection Strings
zip
bool
set
list-comp
comprehension
First
Unix Match. Part 2
match
re.match
find
enumerate
re
First
Can You Pass?
not
False
and
True
list-comp
First
Sort by Extension
fullmatch
re.fullmatch
r-string
List
typing.List
First
Find Sequence
re.search
search
r-string
map
re
First
Ascending List
all
zip
typing.Iterable
Iterable
bool
1
First
Acceptable Password II
any
isdigit
bool
and
comprehension
First
Unix Match. Part 1
match
re.match
re
bool
in
First
Acceptable Password IV
all
any
isdigit
bool
not
First
Similar Triangles
math.isclose
isclose
math.hypot
hypot
Tuple
First
All Upper II
isupper
bool
str
1
First
Words Order
ValueError
index
bool
except
try
First
Verify Anagrams
re.sub
sub
r-string
re
lower
First
Digits Multiplication
list
int
str
for
if
1
First
Brackets
pop
not
or
elif
False
First
Boolean Algebra
lambda
inline-if
Scientific Expedition
First
Nonogram Encode
findall
re.findall
r-string
zip
map
3
First
Longest Substring of Unique Characters
add
break
set
max
print
4
First
Replace All Occurrences
re.sub
sub
re
print
str
5
First
Caps Lock
upper
not
inline-if
False
else
6
First
Convert To Title Case
title
print
str
6
1
First
Beat The Previous
break
not
print
while
False
14
First
Combining Celebrity Names
finditer
re.finditer
match
re.match
r-string
16
First
Count Substring Occurrences
find
break
lower
print
while
16
First
Fuzzy String Matching
bool
max
or
print
False
18
First
Goes Right After
ValueError
index
bool
except
try
First
YAML. More Types
ast.literal_eval
literal_eval
ast
fullmatch
re.fullmatch
1
First
Latest ISO datetime
datetime.fromisoformat
fromisoformat
datetime.datetime
datetime
inline-if
1
Concise
Latest ISO datetime
max
print
1
First
Convert and Aggregate
collections.defaultdict
defaultdict
dict-comp
dict
items
First
Count Vowels
re.I
I
re.sub
sub
r-string
First
YAML. Simple Dict
splitlines
re.split
ValueError
r-string
re
First
Conversion into CamelCase
capitalize
lambda
join
split
comprehension
First
Follow Instructions
lambda
sum
comprehension
First
Remove Accents
category
unicodedata.category
normalize
unicodedata.normalize
unicodedata
1
First
Striped Words
findall
re.findall
re.search
search
r-string
First
Letter Queue
startswith
elif
for
if
1
First
The Hidden Word
splitlines
find
continue
enumerate
break
First
Sum by Type
Tuple
typing.Tuple
except
try
typing
First
Call to Home
groupby
itertools.groupby
math.ceil
ceil
itertools
First
Conversion from CamelCase
findall
re.findall
re
lower
lambda
First
Time Converter (24h to 12h)
map
split
int
if
First
Morse Clock
bin
map
replace
lambda
split
First
Bird Language
re.sub
sub
r-string
re
1
First
The Most Wanted Letter
ascii_lowercase
string.ascii_lowercase
collections.Counter
Counter
string
First
Cipher Map
append
range
len
for
if
1
First
Pangram
ascii_lowercase
string.ascii_lowercase
string
all
lower
First
Secret Message
re.sub
sub
r-string
re
First
Common Words
lambda
sorted
join
if-comprehension
in
First
Absolute Sorting
abs
sorted
O'Reilly
First
Flatten a List (iterator version)
TypeError
yield
except
try
for
3
First
Grid Painting
issubset
union
combinations
itertools.combinations
collections.defaultdict
4
First
Lightbulb Intro
datetime.timedelta
timedelta
datetime.datetime
datetime
List
5
1
First
Integer Palindrome
divmod
insert
bool
print
while
6
1
First
Lightbulb Operating
from_iterable
itertools.from_iterable
typing.Union
Union
Optional
6
First
The Final Stone
heapify
heapq.heapify
heappush
heapq.heappush
heappop
7
1
First
Knapsack Problem
float
min
max
print
range
8
First
Exploring Wythoff Array
tuple
print
while
append
range
8
Second
Flatten a List (generator version)
TypeError
yield
except
try
for
10
First
String-2-Matrix
divmod
tuple
ord
map
isupper
12
First
Determine the Order
keys
add
zip
continue
break
13
1
First
Ordinary Cardinals
cmp_to_key
functools.cmp_to_key
functools
count
print
13
First
Lightbulb More
slice
from_iterable
itertools.from_iterable
typing.Union
Union
13
First
Matrix-2-String
chr
upper
tuple
enumerate
inline-if
13
First
The Hollow Diamond
rstrip
yield
ascii_lowercase
string.ascii_lowercase
string
17
First
Reverse Every Ascending
class
from_iterable
itertools.from_iterable
groupby
itertools.groupby
First
Multiple Lightbulbs
typing.Union
Union
Optional
typing.Optional
datetime.timedelta
First
Sum of Digits
or
inline-if
print
int
First
Frequency Sorting
itemgetter
operator.itemgetter
operator
collections.Counter
Counter
First
Chunk
typing.Iterable
Iterable
typing
list-comp
range
First
Loading Cargo
combinations
itertools.combinations
itertools
min
abs
First
Lightbulb End Watching
Optional
typing.Optional
datetime.timedelta
timedelta
is
First
The Flat Dictionary
isinstance
dict
items
pop
join
First
Time Converter (12h to 24h)
map
split
int
if
1
First
Lightbulb Start Watching
Optional
typing.Optional
datetime.timedelta
timedelta
is
First
How Deep
type
is
tuple
max
inline-if
First
Median of Three
zip
typing.Iterable
Iterable
typing
sorted
First
Xs and Os Referee
or
join
range
comprehension
for
First
Compress List
functools.reduce
reduce
functools
typing.Iterable
Iterable
First
Replace Last
typing.Iterable
Iterable
typing
list
First
Count Inversions
sum
range
comprehension
int
len
1
First
Remove All After
index
typing.Iterable
Iterable
except
try
First
Sort Except Zero
insert
enumerate
typing.Iterable
Iterable
typing
First
Majority
bool
sum
list
len
First
Flatten a List
from_iterable
itertools.from_iterable
chain
itertools.chain
isinstance
First
Median
sorted
else
len
if
1
First
Index Power
len
if
Incinerator
First
The Lancers
class
property
super
decorator
get
2
1
First
The Warlords
setattr
class
getattr
property
super
6
2
First
Dialogues
class
pass
lower
lambda
inline-if
11
First
Text Editor
class
is
None
inline-if
append
14
First
Army Units
class
super
pass
19
1
First
Straight Fight
class
property
super
decorator
get
19
First
Capital City
class
None
not
if
20
Second
Geometry Figures
class
math.pi
pi
math.sqrt
sqrt
First
The Healers
class
property
super
decorator
get
First
3 Chefs
class
pass
First
Hacker Language
class
chr
bin
ord
continue
1
First
The Defenders
class
property
super
decorator
pop
1
First
Microwave Ovens
class
super
pass
min
max
1
First
The Vampires
class
property
super
decorator
pop
First
Party Invitations
class
is
remove
None
inline-if
First
Army Battles
class
property
super
decorator
pop
1
First
Every Person is Unique
class
reversed
insert
date
datetime.date
First
Voice TV Control
class
next
break
not
or
First
The Warriors
class
property
super
decorator
not
1
First
Multicolored Lamp
class
super
1
First
Friends
class
remove
set
in
False
First
Building Base
class
Mine
Second
Currency Style
translate
re.sub
sub
r-string
re
2
2
First
Find Remainder
operator.mod
mod
operator
as
print
3
First
Rectangle Perimeter
print
int
4
1
First
Checking Perfect Power
any
round
bool
print
False
4
First
The Cookie Monster
continue
pop
set
not
inline-if
5
First
Ulam–Warburton Automaton
bin
map
count
inline-if
sum
6
First
Longest Common Prefix
functools.reduce
reduce
functools
min
print
6
First
Integer Sign Determination
inline-if
print
int
str
7
First
Number With Exclamation
math.factorial
factorial
math
print
7
First
Toothpicks
inline-if
print
while
int
7
First
Staircase
combinations
itertools.combinations
itertools
break
max
7
First
Overlapping Disks
combinations
itertools.combinations
add
itertools
tuple
7
First
Chess Knight
chr
ord
set
lambda
inline-if
9
1
First
Count Morse
functools.lru_cache
lru_cache
difference
frozenset
startswith
9
First
Chemical Analysis
class
digits
string.digits
ascii_uppercase
string.ascii_uppercase
9
First
Collatz Ztalloc
isinstance
None
print
while
elif
10
First
Cut Into Squares
functools.lru_cache
lru_cache
decorator
functools
min
11
First
"Lunar" Multiply
add
min
max
or
print
12
First
Escape
None
or
while
False
and
13
1
First
Switch Keys to Values
collections.defaultdict
defaultdict
add
dict
items
14
First
Determinant
lambda
inline-if
sum
list-comp
range
15
2
First
Count Divisibles in Range
inline-if
print
int
15
First
Postfix Evaluation
case
match-case
typing.Union
Union
isinstance
15
First
Domino Chain
enumerate
not
or
and
list-comp
17
2
First
Fast Train
from_iterable
itertools.from_iterable
chain
itertools.chain
any
18
1
First
Long Pressed
fullmatch
re.fullmatch
escape
re.escape
re.sub
19
First
Matrix "Hatching"
typing.Iterable
Iterable
typing
print
if-comprehension
19
First
Aggregate by Operation
collections.defaultdict
defaultdict
dict-comp
dict
items
20
First
Fibonacci Poem
next
yield
print
join
while
First
The Einstein Problem-Lite
is
pop
None
break
set
First
Replace with Biggest
typing.Iterable
Iterable
max
typing
print
First
Adjacent Letters
re.sub
sub
r-string
re
print
1
First
Bigger Together
cmp_to_key
functools.cmp_to_key
reversed
functools
lambda
recursion
Adjacent Letters
re.sub
sub
r-string
re
inline-if
First
Caesar Cipher (encryptor)
chr
ord
lambda
inline-if
join
1
First
The Greatest Common Divisor
math.gcd
gcd
functools.reduce
reduce
functools
First
Find Enemy
chr
ord
index
while
in
First
Can Balance
reversed
enumerate
typing.Iterable
Iterable
typing
First
Caesar Cipher (decryptor)
ascii_lowercase
string.ascii_lowercase
chr
string
ord
First
What Is Wrong With This Family?
is
any
add
continue
enumerate
First
Cut Sentence
shorten
textwrap.shorten
textwrap
lambda
inline-if
First
Disposable Teleports
continue
None
set
lambda
or
First
Achilles and the Tortoise
lambda
First
Moore Neighbourhood
min
max
sum
list-comp
range
First
Best Stock
itemgetter
operator.itemgetter
operator
items
max
First
Binary Count
while
First
Fizz Buzz
elif
str
if
Ice Base
Second
Count Chains
math.hypot
hypot
Tuple
typing.Tuple
any
1
3
First
Move Zeros
count
print
if-comprehension
list-comp
list
1
First
Leap Year Checking
calendar.isleap
isleap
calendar
as
print
1
1
First
Quadratic Equation Roots
inline-if
print
list
int
2
First
Morse Encoder
lower
lambda
join
comprehension
5
3
First
Perfect Number Checking
mul
operator.mul
itertools.product
product
operator
5
First
The Centrifuge Problem
yield
any
bool
print
while
5
First
Write Quadratic Equation
zip
continue
abs
not
or
6
First
Close Enough
math.log
log
round
math
min
6
First
Cleaning Robot
float
enumerate
not
or
print
6
Second
Identify Block
tuple
min
sorted
in
list-comp
7
First
Reveal the Number
float
None
isdigit
not
inline-if
10
1
First
One Switch Strings
bool
print
join
False
True
16
First
Colorful Disks
Ellipsis
tuple
print
int
for
16
First
Correct Capital
capitalize
any
upper
bool
lower
17
count diffs
One Switch Strings
zip
bool
sum
print
sorted
17
1
First
Is String a Number? (Part II)
float
bool
except
try
print
19
1
First
Count And Say
groupby
itertools.groupby
f-string
itertools
print
19
First
Is String a Number?
isdigit
print
False
True
str
First
Interesting, intersecting
tuple
bool
not
or
print
First
Not in Order
zip
sum
print
sorted
list
First
Oil Pie
Fraction
fractions.Fraction
fractions
map
abs
First
When "k" is Enough!
collections.Counter
Counter
collections
typing.Iterable
Iterable
First
Count Chains
math.hypot
hypot
Tuple
typing.Tuple
any
First
Clock Angle
abs
inline-if
list-comp
split
comprehension
1
Second
Is String a Number? (Part II)
fullmatch
re.fullmatch
r-string
re
bool
First
Making Change
min
None
inline-if
if-comprehension
and
First
Feed Pigeons
min
max
while
First
Counting Tiles
math.ceil
ceil
math.sqrt
sqrt
math
First
Find Quotes
findall
re.findall
r-string
re
lambda
First
How to Find Friends
collections.defaultdict
defaultdict
add
collections
set
First
Reverse Roman Numerals
startswith
reversed
enumerate
list
len
First
Largest Rectangle in a Histogram
itertools.takewhile
takewhile
itertools
max
lambda
First
Long Repeat
groupby
itertools.groupby
itertools
max
lambda
First
Roman Numerals
First
Monkey Typing
lower
if-comprehension
in
list-comp
comprehension
1
First
The Most Numbers
min
max
len
if
1
Alice In Wonderland
First
Tree Walker
isinstance
values
dict
tuple
sum
3
2
First
YAML. Complex Structure
ast.literal_eval
literal_eval
ast
splitlines
startswith
3
1
First
Bridge Routine
case
match-case
upper
tuple
zip
3
First
Count Domino Tilings
complex
numpy.linalg
linalg
numpy
as
3
First
YAML. List and Comments
ast.literal_eval
literal_eval
ast
splitlines
startswith
6
1
First
Bishop vs Aliens
add
tuple
bool
set
or
7
First
15-puzzle Solvability
from_iterable
itertools.from_iterable
chain
itertools.chain
itertools
8
First
IP Network: Route Summarization
map
set
join
False
append
12
First
Flood Area
itertools.takewhile
takewhile
pass
itertools
enumerate
First
Transposed Matrix
list-comp
range
comprehension
len
1
First
Digits Doublets
zip
lambda
while
if-comprehension
and
First
Swap Nodes
reversed
sum
range
list
comprehension
1
First
Long Non Repeat
find
in
elif
len
for
1
First
When is Friday?
datetime.strptime
strptime
datetime.datetime
datetime
lambda
First
Middle Characters
inline-if
len
First
Zigzag Array
List
typing.List
typing
inline-if
append
First
The Shortest Knight's Path
add
ord
continue
pop
set
First
Multiplication Table
bin
replace
else
int
for
1
First
The Fastest Horse
statistics.mode
mode
statistics
itemgetter
operator.itemgetter
GitHub
First
Create Intervals (iterator version)
yield
is
continue
None
sorted
2
First
Painting Wall
enumerate
min
max
or
sum
4
1
First
Merge Intervals
max
and
append
else
for
5
1
First
Barcode Reader
KeyError
translate
insert
map
enumerate
6
1
First
Paper Dice
translate
reversed
all
zip
pop
6
1
First
Merge Intervals (generator version)
yield
pop
max
while
and
7
First
Merge Intervals (iterator version)
yield
pop
max
while
and
8
First
Searchlights
math.cos
cos
math.hypot
hypot
math.sin
8
First
Exploring Calkin-Wilf Tree
tuple
lambda
inline-if
print
int
9
Second
Power Plants
Dict
typing.Dict
typing.Set
Set
difference
11
1
First
Long Repeat Inside
break
in
range
else
len
15
First
Create Intervals (generator version)
yield
is
continue
None
sorted
16
First
Power Supply
add
items
set
sum
elif
18
1
First
Simplify Unix Path
startswith
continue
pop
not
or
1
First
Broken Clock
math.floor
floor
startswith
math
map
1
Second
The Cheapest Flight
math.inf
inf
get
add
remove
First
Xs and Os Champion
all
continue
None
or
inline-if
First
Create Intervals
is
None
sorted
elif
append
First
Evenly Spaced Trees
math.gcd
gcd
functools.reduce
reduce
functools
1
First
Open Labyrinth
add
items
pop
set
while
1
First
The Highest Building
itemgetter
operator.itemgetter
operator
zip
enumerate
First
Shooting Range
math.hypot
hypot
round
math
if
First
Solution for Anything
class
True
First
The Most Frequent Weekdays
datetime.datetime
datetime
set
sorted
list-comp
1
First
Expand Intervals
from_iterable
itertools.from_iterable
chain
itertools.chain
itertools
First
Area of a Convex Polygon
round
abs
lambda
sum
list-comp
First
The End of Other
endswith
any
and
comprehension
1
Dropbox
First
Nonogram Row
all
zip
None
lambda
or
4
1
First
Scytale Encryption
None
join
in
range
comprehension
4
First
Count Squares
tuple
print
in
and
list
4
First
Tricky String
zip
min
lambda
sum
print
5
1
First
Sum of Distinct Cubes
pop
None
or
sum
print
5
First
Sort Sorted Groups
from_iterable
itertools.from_iterable
chain
itertools.chain
itertools
7
First
All Permutations
collections.abc.Iterable
itertools.permutations
permutations
itertools
collections
7
First
Count Divisibles in Range (simplified)
floordiv
operator.floordiv
operator
as
print
8
First
Frogs Collision
tuple
None
or
print
and
8
First
Calculator-I
is
None
or
inline-if
print
9
1
First
The Brick Factory Problem
is
None
inline-if
print
int
9
First
Rotating Grille Cipher
Optional
typing.Optional
is
any
List
10
First
Armstrong Number Checking
bool
sum
print
False
True
13
First
Maximum Among Three
max
print
int
13
1
First
Revorse the vewels
upper
continue
isupper
pop
lower
13
First
Reverse Integer
re.sub
sub
r-string
re
lambda
15
First
Huffman Encode
heapify
heapq.heapify
heappush
heapq.heappush
heappop
15
First
Sum of Integers
print
int
20
First
The Longest Word
max
lambda
print
split
str
1
First
Common Tail
pop
None
print
while
and
First
On the same path
frozenset
typing.Union
Union
union
Tuple
First
Atbash Cipher
translate
str
First
URL Normalization
re.subn
subn
re.sub
sub
chr
First
Place Queens
union
chr
add
remove
ord
First
Text Formatting
center
enumerate
inline-if
sum
join
2
First
Hubspot Amulet
continue
range
for
if
1
First
Three Points Circle
math.sqrt
sqrt
findall
re.findall
r-string
First
Simple Hashlib
getattr
hashlib
lambda
Second
Simple Hashlib
hashlib.new
new
hashlib
lambda
First
Worth of Words
max
lambda
sum
comprehension
First
Humpty Dumpty Form
math.atanh
atanh
math.asin
asin
math.pi
First
Friendly Number
math.trunc
trunc
math
enumerate
abs
First
The Longest Palindromic
break
False
True
range
len
First
Numbers Factory
collections.defaultdict
defaultdict
keys
collections
min
First
Speech Module
join
elif
and
append
if
1
First
The Best Number Ever
PyCon TW
First
Ryerson Letter Grade
break
int
str
for
if
5
1
First
Unfair Districts
collections.defaultdict
defaultdict
values
chr
collections
5
First
Fused Cubes
Tuple
typing.Tuple
set-comp
copy
List
6
1
First
Robot Sort
join
append
range
list
str
14
1
First
Building Visibility
add
continue
enumerate
min
set
1
Second
Building Visibility
add
continue
min
bool
set
First
Sum Consecutives
groupby
itertools.groupby
itertools
sum
list-comp
First
Double Substring
max
in
range
len
for
First
How Much Gold
Fraction
fractions.Fraction
fractions
items
index
First
Simple Areas
math.pi
pi
math.sqrt
sqrt
round
First
Golden Pyramid
functools.reduce
reduce
functools
max
lambda
1
First
Calculate Islands
continue
or
sorted
in
append
First
Network Attack
add
enumerate
min
set
while
First
Digit Stack
pop
elif
append
split
else
First
House Password
re.search
search
r-string
re
bool
Storage
First
Convert Date
datetime.strptime
strptime
datetime.datetime
datetime
except
2
1
First
Working Hours Calculator
datetime.fromisoformat
fromisoformat
datetime.timedelta
timedelta
date
4
First
English to Braille Translator
ascii_letters
string.ascii_letters
digits
string.digits
zfill
5
1
First
Playfair Cipher
collections.fromkeys
OrderedDict
collections.OrderedDict
fromkeys
digits
11
Second
Working Hours Calculator
datetime.fromisoformat
fromisoformat
datetime.timedelta
timedelta
date
11
First
List Beautify
rjust
enumerate
max
inline-if
print
18
First
Battle Dice
functools.lru_cache
lru_cache
collections.defaultdict
defaultdict
decorator
19
First
Mind Switcher
keys
get
remove
pop
set
20
1
First
Hexagon Spiral
abs
lambda
while
range
else
First
Earth Distances
math.radians
radians
math.cos
cos
math.sin
First
Word Pattern
re.sub
sub
r-string
re
lambda
First
Group Equal consecutive
groupby
itertools.groupby
itertools
lambda
list-comp
First
Square Spiral
continue
abs
range
for
if
First
Restricted Prime
bool
while
False
True
if
First
The Rows of Cakes
combinations
itertools.combinations
pass
itertools
tuple
First
Saw the Stick
break
while
append
True
range
First
Moria Doors
findall
re.findall
r-string
re
min
First
Skew-symmetric Matrix
all
lambda
list-comp
range
comprehension
First
Weak Point
zip
index
min
lambda
sum
Maya
First
Inertia
hash
frozenset
setdefault
union
Tuple
2
First
Net Game
copy
items
continue
pop
None
2
First
Find Rectangles
chain
itertools.chain
next
Tuple
typing.Tuple
6
First
Unruly
itertools.permutations
permutations
all
itertools
continue
7
HubSpot
First
Non Empty Lines
splitlines
strip
bool
sum
comprehension
1
2
First
Inscribe a Contour
nanmax
numpy.nanmax
nanmin
numpy.nanmin
numpy.mod
1
First
New Cities
remove
pop
set
sum
while
5
Second
Univocalic davasaan
lambda
8
First
Univocalic davasaan
lambda
8
Second
Team Play
List
typing.List
zip
typing
lambda
9
First
Workout
math.ceil
ceil
List
typing.List
math
11
First
Repeating Decimals
index
while
in
append
True
12
1
First
Triangular Islands
functools.lru_cache
lru_cache
typing.Set
Set
collections.defaultdict
18
First
Next Birthday
calendar.isleap
isleap
Dict
typing.Dict
calendar
20
First
Square Board
Tuple
typing.Tuple
typing
elif
else
First
City's Happiness
values
keys
remove
pop
min
1
First
Supply Line
chr
add
pop
set
sum
First
Weekly Calendar
datetime.timedelta
timedelta
date
datetime.date
datetime
First
Node Disconnected Users
keys
remove
pop
set
sum
First
Auto Painting
map
enumerate
or
join
while
First
The Hamming Distance
while
First
Restricted Sum
else
if
First
Number Base
index
list
for
if
Blizzard
First
Connect Stars
math.inf
inf
math.hypot
hypot
Tuple
1
1
First
Safe Coasts
min
break
replace
max
not
7
First
Palindromic Palindrome
lambda
11
First
Checkers Capture
tuple
remove
continue
max
not
11
First
Useless Flights
math.inf
inf
get
add
remove
18
First
Mountain Scape
collections.defaultdict
defaultdict
Tuple
typing.Tuple
keys
20
1
First
Stair Steps
max
for
First
Reversed Permutation Index
math.factorial
factorial
divmod
math
typing.Iterable
First
The First Working Day
datetime.strptime
strptime
datetime.timedelta
timedelta
datetime.datetime
First
Permutation Index
math.factorial
factorial
Tuple
typing.Tuple
math
First
String Conversion
min
inline-if
append
range
len
First
Sudoku Solver
discard
set
False
True
range
First
Rectangles Union
from_iterable
itertools.from_iterable
chain
itertools.chain
Tuple
1
First
Spaceship Landing Strip
match
re.match
re
min
break
First
Radiation Search
add
enumerate
pop
None
set
First
Min and Max
get
lambda
list
len
for
First
Unlucky Days
date
datetime.date
datetime
sum
if-comprehension
First
Stressful Subject
rstrip
re.sub
sub
r-string
upper
First
Weekend Counter
in
range
if
First
The Angles of a Triangle
math.degrees
degrees
math.acos
acos
round
Rock
First
Garland
combinations
itertools.combinations
all
itertools
min
7
First
River Crossing
add
pop
min
None
set
7
First
Hexagonal Islands
typing.Set
Set
difference
intersection
ord
8
1
First
Family Dinner
functools.lru_cache
lru_cache
decorator
functools
tuple
8
First
Sort by Removing
functools.reduce
reduce
functools
lambda
inline-if
10
First
Fibonacci Spiral's End
cycle
itertools.cycle
next
yield
itertools
10
1
First
All Roads Lead to Rome!
tuple
inline-if
print
in
append
10
First
Greedy Number
index
break
set
print
sorted
11
First
Most Efficient Cutting
itertools.permutations
permutations
itertools
min
comprehension
11
First
Home Coming
update
collections.Counter
Counter
values
collections
12
First
Park Benches
Tuple
typing.Tuple
all
List
typing.List
12
First
Life Counter
insert
all
any
pop
max
13
First
Count Comprehensions
DictComp
GeneratorExp
ListComp
SetComp
ast.DictComp
14
First
Black Holes
math.acos
acos
math.pi
pi
math.sqrt
First
Super Root
math.log
log
math
abs
while
First
Parity Bit Generator
chr
bin
join
if-comprehension
list-comp
3
First
Berserk Rook
max
lambda
sorted
if-comprehension
and
First
CheckSum
digits
string.digits
re.sub
sub
string
2
First
Water Jars
pop
min
or
while
and
First
Web Log Sessions
splitlines
datetime.strptime
strptime
datetime.timedelta
timedelta
1
Shelter
First
Fortress Cannons
from_iterable
itertools.from_iterable
chain
itertools.chain
itertools.product
1
2
Third
Halloween Monsters
remove
enumerate
None
max
join
4
1
First
AMSCO Cipher
find
min
inline-if
join
while
6
1
First
Climbing Route
itertools.permutations
permutations
extend
itertools
zip
6
First
Delivery Drone
itertools.permutations
permutations
functools.reduce
reduce
functools
10
First
Landing Site
typing.Set
Set
is
values
keys
17
First
ADFGVX Cipher
itemgetter
operator.itemgetter
operator
re.sub
sub
Second
Completely Empty
TypeError
all
except
try
False
First
Four To The Floor
math.hypot
hypot
any
math
continue
First
Completely Empty
TypeError
all
except
try
False
First
Seven Segment
islower
format
upper
zip
isupper
First
The Nearest Square Number
math.floor
floor
math.ceil
ceil
math.sqrt
First
One line Drawing
groupby
itertools.groupby
itertools
remove
continue
First
Pattern Recognition
lambda
list-comp
range
comprehension
len
First
Ghosts Age
while
Codeship
First
Behind 2048
reversed
any
break
if-comprehension
list-comp
6
1
First
Reversi: Othello Moves
collections.defaultdict
defaultdict
is
items
tuple
6
First
Rolling 🎲!
print
list-comp
comprehension
int
str
8
1
Second
Magic with 5 cards
reversed
insert
f-string
dict-comp
tuple
8
First
The 88th Puzzle
tuple
continue
pop
while
append
11
First
Champernowne Word
islice
itertools.islice
next
yield
itertools
11
First
Unfair Dice
sum
elif
range
else
len
12
First
Minesweeper
continue
min
max
not
or
12
1
First
Ugly Numbers
islice
itertools.islice
next
yield
itertools
20
1
First
Eaten Go Stones
add
continue
enumerate
set
or
20
First
The Territory of Go
add
continue
enumerate
set
or
20
First
Snake Lite
keys
add
tuple
pop
index
20
First
8 Puzzle
heappush
heapq.heappush
heappop
heapq.heappop
heapq
First
Texas Referee
reversed
all
continue
index
break
1
First
The Square Chest
not
lambda
or
in
False
First
Probably Dice
math.floor
floor
round
math
range
Second
Probably Dice
math.floor
floor
functools.reduce
reduce
functools
First
Pearls in the Box
collections.Counter
Counter
round
collections
elif
Hermit
First
Fractions Addition
Fraction
fractions.Fraction
fractions
math.floor
floor
11
First
Strawberry Fields
math.degrees
degrees
math.acos
acos
round
11
First
Stacking Cubes
Tuple
typing.Tuple
collections.Counter
Counter
items
11
First
Unique Email Addresses
re.sub
sub
r-string
map
re
14
First
Network Loops
collections.defaultdict
defaultdict
keys
collections
index
18
1
First
Ore In The Desert
all
round
not
lambda
range
First
Birthday Party
datetime.timedelta
timedelta
date
datetime.date
datetime
First
Mono Captcha
difference
is
continue
None
abs
First
Backspace Apply
re.subn
subn
r-string
re
not
First
Shorter Set
remove
min
set
max
print
1
First
Excel Column Number
functools.reduce
reduce
functools
ord
lambda
First
Simplification
NodeVisitor
ast.NodeVisitor
ast.parse
parse
ast
First
Stock Profit
float
min
max
print
list
Second
Break Rings
union
combinations
itertools.combinations
all
any
First
Keywords Finder
escape
re.escape
re.I
I
re.compile
First
Colder-Warmer
random.randrange
randrange
math.hypot
hypot
random
2
First
Count Consecutive Summers
lambda
or
sum
and
range
First
The Good Radix
ValueError
pass
except
try
range
Watchtower
First
Broken Window
itertools.permutations
permutations
chain
itertools.chain
Tuple
2
First
Ethernet Ring Dimensioning
math.ceil
ceil
collections.defaultdict
defaultdict
values
5
First
DNA Common Sequence
functools.lru_cache
lru_cache
decorator
functools
None
6
1
First
Numbered Triangles
max
not
inline-if
range
comprehension
7
First
Magic Square
discard
difference
add
min
set
7
First
Boundary Blocks
Tuple
typing.Tuple
chr
ord
List
7
First
Bag of Santa Claus
math.e
e
math
max
False
14
First
Wall Keeper
not
in
False
append
True
15
1
First
Vigenere Cipher
cycle
itertools.cycle
chr
itertools
ord
16
1
First
Number Guess
all
set
if-comprehension
list-comp
range
17
1
First
Bacteria Colonies
all
min
not
or
False
18
First
Bulls and Cows
itertools.permutations
permutations
all
add
itertools
First
Convex Hull
extend
is
continue
sort
None
First
Compare Functions
is
None
except
try
inline-if
First
Rotate Hole
insert
all
pop
append
list-comp
First
Funny Addition
Escher
First
The Stones
any
min
inline-if
and
append
5
3
First
Treasures
dict
items
min
lambda
sorted
11
1
First
Card Game
collections.Counter
Counter
values
collections
break
11
1
First
The Ship Teams
items
or
sorted
if-comprehension
comprehension
12
Second
Hypercube
any
not
lower
lambda
or
16
Second
Graphical Key
continue
max
or
sum
in
16
2
Third
Graphical Key
continue
max
or
sum
in
17
First
Keys and Locks
strip
all
zip
lambda
while
18
1
Second
The Buttons
strip
pop
sorted
while
and
18
First
The Tower
collections.Counter
Counter
collections
index
min
19
1
Second
The Stone Wall
strip
index
min
count
list-comp
First
Safe Code
startswith
digits
string.digits
eval
findall
1
First
Wild Dogs
combinations
itertools.combinations
collections.defaultdict
defaultdict
math.sqrt
3
First
Compass, Map and Spyglass
enumerate
abs
max
for
if
1
Second
Compass, Map and Spyglass
enumerate
abs
max
sum
comprehension
1
First
The Secret Room
map
index
lambda
sorted
join
First
Ground for the House
reversed
strip
all
inline-if
while
First
The Stone Wall
strip
enumerate
min
lambda
count
Not On Map
First
Correct WhatsUp
Client
twilio
twilio.rest.Client
endswith
upper
1
Second
Base change - Position System
hexdigits
string.hexdigits
string
upper
break
First
Most Wanted Letter
ascii_lowercase
string.ascii_lowercase
collections.Counter
Counter
string
First
Aggregate and Count
collections.defaultdict
defaultdict
dict
collections
print
First
Length of the String
print
int
str
len
1