29
Chocolater
7 21 35
4525/ 4695
Last seen 4 years ago
Member for 7 years, 6 months, 29 days
Difficulty Normal
Missions (245) / Solutions (259)
Best solutions / Newest solutions
Initiation
Short
The Most Frequent
max
count
18
First
Replace First
typing.Iterable
Iterable
typing
list
if
Three cases
Nearest Value
index
min
abs
set
lambda
1
Lambda
Easy Unpack
lambda
First
Split Pairs
math.ceil
ceil
math
list-comp
range
First
Correct Sentence
islower
upper
str
if
Home
First
Sun Angle
or
int
if
7
1
First
Split List
lambda
sorted
True
list
len
First
Morse Decoder
capitalize
join
split
comprehension
1
First
Three Words
isalpha
break
elif
split
else
1
First
Between Markers
find
in
else
str
len
First
Right to Left
replace
join
First
Pawn Brotherhood
index
join
in
elif
list
First
Even the Last
IndexError
pop
except
try
while
First
Date and Time Converter
re.split
r-string
re
split
int
First
Sort Array by Element Frequency
from_iterable
itertools.from_iterable
chain
itertools.chain
itertools
First
Second Index
find
None
inline-if
int
str
First
Popular Words
re.split
dict-comp
r-string
dict
re
First
Non-unique Elements
count
append
for
if
First
Bigger Price
remove
max
if-comprehension
list-comp
range
First
Days Between
date
datetime.date
datetime
abs
Electronic Station
Neighbouring cells
Can You Pass?
while
in
and
len
for
1
Second
Ascending List
typing.Iterable
Iterable
bool
set
typing
First
Unix Match. Part 2
startswith
bool
not
or
join
Easy
Find Sequence
while
False
and
True
len
First
Brackets
math.ceil
ceil
math
pop
break
First
Surjection Strings
dict
bool
in
False
True
First
Verify Anagrams
all
replace
lower
count
False
First
Digits Multiplication
int
str
for
if
First
Ascending List
all
typing.Iterable
Iterable
bool
typing
Simple.
Boolean Algebra
or
and
else
if
Scientific Expedition
First
Bird Language
IndexError
pop
except
try
print
First
Caps Lock
ascii_lowercase
string.ascii_lowercase
as
string
upper
First
Letter Queue
in
elif
for
if
One-liner
Conversion into CamelCase
title
join
split
comprehension
First
Conversion from CamelCase
re.split
r-string
isupper
re
lower
Not too hard
The Hidden Word
all
enumerate
replace
max
lower
Normal.
Cipher Map
sort
lower
lambda
print
elif
First
Pangram
upper
set
if-comprehension
in
list-comp
First
Absolute Sorting
abs
lambda
sorted
list
1
First
Time Converter (24h to 12h)
split
int
str
if
First
Follow Instructions
count
1
It works. Somehow...
Call to Home
pop
while
split
range
else
First
Secret Message
in
for
if
First
Morse Clock
zfill
format
replace
split
list
1
Easy
Common Words
remove
sort
count
join
while
Easy as pie.
Striped Words
upper
isalpha
break
isdigit
not
First
The Most Wanted Letter
isalpha
min
set
max
lower
O'Reilly
First
How Deep
isinstance
max
comprehension
int
if
1
First
Median of Three
typing.Iterable
Iterable
typing
sorted
range
Fixed
How Deep
isinstance
max
comprehension
int
if
First
Reverse Every Ascending
from_iterable
itertools.from_iterable
chain
itertools.chain
itertools
First
Compress List
typing.Iterable
Iterable
typing
if-comprehension
list-comp
One
Frequency Sorting
count
sorted
True
First
Time Converter (12h to 24h)
in
split
int
str
if
First
Remove All After
index
typing.Iterable
Iterable
typing
in
First
Index Power
IndexError
except
try
int
That task is supposed to be elementary...
Count Inversions
range
len
for
if
Recursive way.
Flatten a List
type
else
int
for
if
Very simple.
Xs and Os Referee
elif
range
for
if
First
Median
math.floor
floor
math
sorted
else
Incinerator
First
Straight Fight
class
super
type
remove
min
10
1
Second
Voice TV Control
class
in
range
list
else
16
First
Every Person is Unique
class
while
elif
else
int
17
First
Microwave Ovens
class
zfill
pass
format
else
19
First
The Weapons
class
math.floor
floor
property
super
1
First
The Healers
class
super
type
while
False
1
First
The Vampires
class
super
while
False
and
1
First
Multicolored Lamp
class
1
First
The Warlords
class
math.floor
floor
property
super
Channels
Voice TV Control
class
in
range
list
else
First
Dialogues
class
re.sub
sub
r-string
format
First
The Defenders
class
super
while
False
and
1
First
Hacker Language
class
itertools.zip_longest
zip_longest
chain
itertools.chain
First
The Lancers
class
super
while
False
and
First
Text Editor
class
format
if
First
Geometry Figures
math.tan
tan
class
math.pi
pi
First
Party Invitations
class
format
remove
else
for
First
3 Chefs
class
str
1
I like it!
Building Base
class
str
First
The Warriors
class
while
False
True
if
1
#New_Paradigm
Friends
class
type
tuple
remove
set
Mine
First
Caesar Cipher (encryptor)
string.index
ascii_lowercase
string.ascii_lowercase
as
string
5
2
Easy peasy
Binary Count
bin
count
str
8
First
Chemical Analysis
re.split
yield
findall
re.findall
islower
10
Like Supply Line, but with sectors
Find Enemy
index
not
lambda
sorted
while
16
1
First
Caesar Cipher (decryptor)
string.index
ascii_lowercase
string.ascii_lowercase
as
string
17
First
Escape
not
or
elif
False
and
Recursive
Fast Train
functools.lru_cache
lru_cache
decorator
functools
tuple
First
Chess Knight
index
abs
set
sorted
if-comprehension
DFS
Domino Chain
functools.lru_cache
lru_cache
decorator
functools
tuple
Second
Can Balance
min
typing.Iterable
Iterable
typing
sum
Short
Bigger Together
itertools.permutations
permutations
itertools
min
max
Good algorithm - good program.
What Is Wrong With This Family?
while
elif
else
len
if
First
Can Balance
typing.Iterable
Iterable
typing
sum
range
Fudgest code I've ever made.
Currency Style
all
pop
isdigit
count
or
Basic Recursion
Determinant
enumerate
pop
elif
list-comp
comprehension
Simple cowsay - fixed
Cut Sentence
enumerate
break
elif
and
split
BFS
Disposable Teleports
all
any
not
or
while
First
Best Stock
itemgetter
operator.itemgetter
operator
items
max
Take that, Zeno!
Achilles and the Tortoise
First
Fizz Buzz
elif
else
str
if
Limited solution.
The Greatest Common Divisor
fractions.gcd
gcd
fractions
min
range
First
Moore Neighbourhood
len
if
Ice Base
Moving and comparing
Identify Block
any
None
set
not
while
1
First
Reverse Roman Numerals
continue
while
len
if
fractions
Oil Pie
Fraction
fractions.Fraction
fractions
abs
sum
First
Counting Tiles
math.hypot
hypot
math.ceil
ceil
filter
First
Morse Encoder
lower
join
list-comp
split
comprehension
1
First
Clock Angle
min
abs
split
int
if
First
Find Quotes
re.split
r-string
re
if-comprehension
list-comp
First
The Most Numbers
min
max
list-comp
comprehension
else
First
Roman Numerals
while
if
First
Feed Pigeons
while
else
if
First
Largest Rectangle in a Histogram
max
range
else
for
if
Generator
Long Repeat
except
try
max
if-comprehension
in
Easy af.
How to Find Friends
remove
in
split
range
list
Short
Monkey Typing
lower
if-comprehension
in
list-comp
comprehension
Alice In Wonderland
Second
The Fastest Horse
index
min
max
count
list-comp
1
1
First
Digits Doublets
pop
count
and
True
list-comp
9
Peaks and layers
Flood Area
startswith
endswith
all
any
index
17
First
Tree Walker
type
values
items
not
or
1
Second
Tree Walker
type
values
sum
in
list
First
Long Non Repeat
in
split
else
len
for
Second
Long Non Repeat
set
max
if-comprehension
list-comp
range
First
Zigzag Array
List
typing.List
typing
list-comp
range
First
Swap Nodes
range
len
for
First
When is Friday?
date
datetime.date
datetime
list-comp
split
First
IP Network: Route Summarization
ljust
startswith
zfill
all
bin
1
Short
The Fastest Horse
type
is
index
min
max
First
Middle Characters
int
len
Easy
Multiplication Table
bin
or
and
else
int
Short
Transposed Matrix
list-comp
range
comprehension
len
for
GitHub
I don't really know how that works... But it does!
Power Supply
remove
break
count
in
and
4
First
Long Repeat Inside
max
if-comprehension
in
list-comp
range
13
First
Simplify Unix Path
filter
remove
pop
None
break
16
3
Generate Vertices
Searchlights
math.cos
cos
math.sin
sin
math.pi
18
Draw-O-Matic
Xs and Os Champion
index
count
print
and
range
Gcd
Evenly Spaced Trees
any
List
typing.List
min
break
2
Class and some bruteforce.
Open Labyrinth
class
not
while
elif
else
Second
Simplify Unix Path
remove
break
not
count
join
Union of sets.
Painting Wall
remove
enumerate
while
in
elif
First
Expand Intervals
from_iterable
itertools.from_iterable
chain
itertools.chain
itertools
First
Merge Intervals
pop
while
elif
and
else
First
The Cheapest Flight
tuple
remove
List
typing.List
index
Short
Cookies
join
split
for
if
First
The Highest Building
index
in
range
len
for
First
Create Intervals
tuple
or
sorted
range
len
Second
Power Supply
from_iterable
itertools.from_iterable
copy.deepcopy
deepcopy
chain
Heron's formula
Area of a Convex Polygon
math.sqrt
sqrt
math
pop
while
1
First
The Most Frequent Weekdays
calendar.isleap
isleap
calendar
date
datetime.date
First
The End of Other
endswith
any
if-comprehension
range
list
Dropbox
Eval
Simple Hashlib
eval
4
DFS
On the same path
typing.Union
Union
Tuple
typing.Tuple
List
First
The Longest Palindromic
max
else
len
if
Bruteforce
Hubspot Amulet
and
range
for
if
re
Worth of Words
as
findall
re.findall
r-string
find
My Mona Lisa
Friendly Number
ljust
round
IndexError
abs
except
First
Humpty Dumpty Form
math.log
log
math.asin
asin
math.pi
First
Numbers Factory
while
and
else
if
First
Speech Module
elif
if
PyCon TW
Nice and speedy
Double Substring
except
try
max
count
if-comprehension
First
Ryerson Letter Grade
in
range
int
str
for
Sort by y, sort by x
Building Visibility
sort
enumerate
None
break
lambda
First
Digit Stack
pop
in
elif
and
int
Finally!
Network Attack
break
or
print
while
elif
Rays and triangle
How Much Gold
Fraction
fractions.Fraction
fractions
all
or
1
Two indexes
Sum Consecutives
break
while
len
if
NIce
Double Substring
max
count
if-comprehension
and
list-comp
12
Surprisingly easy
Golden Pyramid
max
range
list
comprehension
len
Not so hard.
Calculate Islands
enumerate
pop
break
max
not
Clear.
Simple Areas
math.pi
pi
math.sqrt
sqrt
round
First
House Password
islower
isupper
isdigit
in
False
Storage
First
English to Braille Translator
zfill
ascii_lowercase
string.ascii_lowercase
string
bin
Large
Playfair Cipher
insert
IndexError
isalpha
pop
index
That was... interesting.
Restricted Prime
while
False
True
int
if
Second
Restricted Prime
while
False
True
int
if
First
Group Equal consecutive
not
else
for
if
1
So easy
Weak Point
index
min
sum
list-comp
range
1
First
Word Pattern
zfill
format
isalpha
False
True
Piece of cake
Moria Doors
re.sub
sub
enumerate
re
set
Easy.
Saw the Stick
while
int
if
Simple and clear
Skew-symmetric Matrix
False
True
range
len
for
HubSpot
First
Supply Line
difference_update
discard
difference
itertools.product
product
2
1
4 sides
Square Board
Tuple
typing.Tuple
typing
int
if
First
Repeating Decimals
index
while
in
str
if
First
The Hamming Distance
zfill
format
zip
sum
comprehension
First
Auto Painting
all
break
not
count
while
First
Number Base
ValueError
except
try
int
Recursive functions in a nutshell.
Restricted Sum
else
len
if
Blizzard
Neighbours
Safe Coasts
tuple
replace
while
in
and
9
More readable but a bit slower version.
Safe Coasts
tuple
continue
abs
replace
except
1
First
The First Working Day
datetime.timedelta
timedelta
date
datetime.date
datetime
1
First
Sudoku Solver
discard
copy.deepcopy
deepcopy
copy
keys
Count all squares
Rectangles Union
from_iterable
itertools.from_iterable
chain
itertools.chain
Tuple
A faster version
Safe Coasts
tuple
continue
abs
replace
except
First
Unlucky Days
date
datetime.date
datetime
range
for
2
First
The Angles of a Triangle
math.degrees
degrees
math.acos
acos
float
Neighbouring details
Radiation Search
any
max
not
while
in
Recursive
Stair Steps
max
else
len
if
1
regexp
Stressful Subject
re.compile
compile
match
re.match
re
date and monthrange
Weekend Counter
calendar.monthrange
monthrange
calendar
break
replace
Rock
Arithmetic average.
Super Root
while
else
if
11
1
Remove waters, Group the rest
Hexagonal Islands
typing.Set
Set
chain
itertools.chain
any
19
Really?
Parity Bit Generator
chr
bin
pop
count
or
3
Hard
Web Log Sessions
itemgetter
operator.itemgetter
operator
sort
enumerate
Game of life.
Life Counter
any
pop
break
not
or
Checking directions
Berserk Rook
index
break
set
not
in
Really?2.0
Parity Bit Generator
chr
format
pop
count
join
First
CheckSum
ord
isalpha
isdigit
or
sum
Shelter
lights and river
The Lantern Festival
set
not
or
while
if-comprehension
6
1
Relative Axial Coordinates
Fortress Cannons
from_iterable
itertools.from_iterable
chain
itertools.chain
itertools.product
8
Another one-liner
The Nearest Square Number
math.sqrt
sqrt
round
math
10
Interesting task.
AMSCO Cipher
pop
index
or
join
while
PEP version.
AMSCO Cipher
pop
index
not
or
join
Long
One line Drawing
combinations_with_replacement
itertools.combinations_with_replacement
set-comp
as
itertools
Short
Seven Segment
islower
all
upper
isupper
lower
A little too clumsy.
ADFGVX Cipher
sort
enumerate
isalpha
pop
isdigit
First
The Nearest Square Number
math.sqrt
sqrt
round
math
Image recognition basics
Pattern Recognition
all
range
comprehension
len
for
Codeship
Groupes and dames V2.0
The Territory of Go
all
any
remove
while
in
Groups and dames
Eaten Go Stones
all
any
remove
while
in
lru_cache saves the day yet again.
Probably Dice
functools.lru_cache
lru_cache
decorator
functools
None
1
Fast
Pearls in the Box
round
count
sum
list-comp
range
Big
Behind 2048
all
any
continue
break
not
3 matrices
The Square Chest
all
tuple
List
typing.List
set
Hermit
Check all
Count Consecutive Summers
any
if-comprehension
list-comp
range
comprehension
6
1
Second
Count Consecutive Summers
any
if-comprehension
list-comp
range
comprehension
7
1
First
Fractions Addition
Fraction
fractions.Fraction
fractions
elif
int
Joining tags
Keywords Finder
startswith
enumerate
lower
sorted
join
First
The Good Radix
ascii_uppercase
string.ascii_uppercase
string
isalpha
index
1
Watchtower
Done.
Vigenere Cipher
index
count
while
range
len
15
lru_cache is magic!
DNA Common Sequence
functools.lru_cache
lru_cache
decorator
functools
None
First
Compare Functions
is
None
except
try
and
1
Two functions
Wall Keeper
any
remove
break
not
while
Pattern recognition
Bacteria Colonies
continue
IndexError
min
abs
except
How is that "simple" ?
Rotate Hole
pop
range
len
for
if
Permutations
Numbered Triangles
itertools.permutations
permutations
itertools
remove
pop
1
First
Funny Addition
while
Escher
DFS
Graphical Key
update
copy
set
max
sum
7
Eval
Safe Code
eval
replace
if-comprehension
split
range
11
3
Fixed
Safe Code
eval
re.search
search
r-string
any
19
1
First
Compass, Map and Spyglass
dict
enumerate
isalpha
abs
max
2
Axes
The Tower
combinations
itertools.combinations
reversed
yield
any
Simple
Hypercube
abs
bool
lower
if-comprehension
and
1
Vectors
Wild Dogs
math.sqrt
sqrt
round
math
enumerate
1
Get, standartise, search
The Tower
chain
itertools.chain
itertools
tuple
enumerate
Groups and dames V3.0
The Buttons
any
remove
pop
sum
sorted
Turning
Keys and Locks
all
pop
print
join
while
Cards and hands
Card Game
remove
sort
break
or
if-comprehension
First
Ground for the House
any
break
while
split
range
Slow
The Stones
update
all
index
min
break
Worth
Treasures
remove
break
not
lambda
sum
2
First
The Secret Room
index
lambda
sorted
elif
and
1
Short
The Stone Wall
min
lambda
if-comprehension
list-comp
split
First
The Ship Teams
sorted
and
else
for
if
Not On Map
First
Most Wanted Letter
ascii_lowercase
string.ascii_lowercase
as
string
max
19