36
colinmcnicholl
13 42 52 Leader of the month
8040/ 8195
Colin McNicholl
Last seen 6 months ago
Member for 6 years, 9 months, 10 days
Difficulty Normal
Missions (374) / Solutions (431)
Best solutions / Newest solutions
Initiation
Second
Easy Unpack
tuple
comprehension
3
7
First
End Zeros
pop
break
while
list
else
First
Number Length
int
str
len
First
Backward String
str
First
Is Even
bool
int
First
The Most Frequent
max
count
First
Split Pairs
islice
itertools.islice
itertools.zip_longest
zip_longest
itertools
First
Nearest Value
itemgetter
operator.itemgetter
operator
enumerate
min
First
Easy Unpack
First
Acceptable Password I
bool
str
len
Second
All Upper I
islower
any
map
bool
not
First
Beginning Zeros
collections.deque
deque
collections
break
while
First
Count Digits
isdigit
sum
if-comprehension
list-comp
comprehension
First
Replace First
list
else
len
if
First
Max Digit
not
or
while
int
if
First
Remove All Before
index
typing.Iterable
Iterable
not
typing
First
Sum Numbers
isdigit
sum
if-comprehension
list-comp
split
First
First Word (simplified)
split
str
2
First
Between Markers (simplified)
find
str
All_the_Same
All the Same
Any
typing.Any
List
typing.List
bool
Home
First
Duplicate Zeros
print
append
list
else
for
5
1
First
Changing direction
pass
zip
or
print
sorted
5
Third: with suppress and text.index instead of text.find
Second Index
contextlib.suppress
suppress
contextlib
with
ValueError
7
9
Second
Bigger Price
itemgetter
operator.itemgetter
operator
sorted
True
2
First
Backward Each Word
join
list-comp
split
comprehension
str
First
Missing Number
zip
sort
enumerate
min
print
First
Bigger Price
lambda
sorted
True
Second
Second Index
find
None
else
str
if
Second
Even the Last
inline-if
sum
2
Morse decoder
Morse Decoder
upper
isalpha
and
append
split
Second
Days Between
date
datetime.date
datetime
abs
3
First
Sort Array by Element Frequency
itemgetter
operator.itemgetter
operator
extend
collections.Counter
Second
Between Markers
find
str
len
Second
Popular Words
dict
replace
lower
count
split
Date and time convertor
Date and Time Converter
startswith
lstrip
elif
and
int
First
Split List
not
elif
list
else
len
Second Index
Second Index
find
None
else
str
if
Between Markers
Between Markers
find
elif
and
else
str
Popular Words
Popular Words
dict
replace
lower
in
split
Sun Angle
Sun Angle
or
else
int
if
Second
Pawn Brotherhood
ord
or
in
append
int
First
Right to Left
replace
join
First
Pawn Brotherhood
combinations
itertools.combinations
set-comp
itertools
ord
First
Three Words
continue
isalpha
isdigit
elif
False
First
Even the Last
sum
append
range
else
len
Electronic Station
First
Cipher Dict
collections.deque
deque
collections
None
not
6
Second
Surjection Strings
zip
bool
set
list-comp
comprehension
9
First
Remove Brackets
combinations
itertools.combinations
collections.Counter
Counter
ValueError
Second
Boolean Algebra
lambda
2
First
Inside Block
math.inf
inf
ZeroDivisionError
collections.namedtuple
namedtuple
4
First
Unix Match. Part 2
digits
string.digits
ascii_lowercase
string.ascii_lowercase
string
2
First
Words Order
ValueError
all
zip
index
bool
3
Second
Find Sequence
any
or
elif
False
append
Second
Inside Block
math.inf
inf
Ellipsis
ZeroDivisionError
collections.namedtuple
Unix Match. Part 1
Unix Match. Part 1
escape
re.escape
translate
re.compile
compile
Second
Verify Anagrams
collections.Counter
Counter
collections
replace
lower
2
Second
Brackets
break
while
if-comprehension
in
elif
First
Similar Triangles
math.atan2
atan2
math.hypot
hypot
math.degrees
Second
Digits Multiplication
functools.reduce
reduce
functools
lambda
if-comprehension
First
Surjection Strings
zip
bool
set
False
True
2
First
Sort by Extension
rpartition
itemgetter
operator.itemgetter
operator
List
First
Acceptable Password III
any
isdigit
bool
not
sum
First
All Upper II
isupper
bool
str
Second - 'First' incorrect for assert is_ascending([1, 6, 6]) == False
Ascending List
typing.Iterable
Iterable
bool
set
not
First
Acceptable Password II
any
isdigit
bool
and
comprehension
First
Find Sequence
continue
elif
False
append
True
First
Digits Multiplication
if-comprehension
list-comp
comprehension
int
str
First
Brackets
break
or
while
if-comprehension
in
2
First
Verify Anagrams
dict
replace
lower
else
for
Scientific Expedition
First
Convert and Aggregate
tuple
print
in
elif
list
2
First
Latest ISO datetime
datetime.strptime
strptime
datetime.datetime
datetime
max
3
First
YAML. More Types
from_iterable
itertools.from_iterable
itertools.zip_longest
zip_longest
Exception
8
1
Second
The Hidden Word
itertools.zip_longest
zip_longest
itertools
find
enumerate
First
Beat The Previous
print
append
list
int
str
Third
The Hidden Word
itertools.zip_longest
zip_longest
itertools
find
enumerate
Second
The Most Wanted Letter
ascii_lowercase
string.ascii_lowercase
string
max
lower
4
Conversion into CamelCase
Conversion into CamelCase
title
not
join
if-comprehension
comprehension
First
YAML. Simple Dict
from_iterable
itertools.from_iterable
chain
itertools.chain
strip
2
First
Remove Accents
combining
unicodedata.combining
normalize
unicodedata.normalize
unicodedata
First
Caps Lock
upper
elif
and
str
for
1
First
Sum by Type
Tuple
typing.Tuple
isinstance
typing
sum
Second
Cipher Map
dict-comp
keys
sorted
join
if-comprehension
2
Folllow Instructions
Follow Instructions
keys
in
else
for
if
The Hiden Word
The Hidden Word
itertools.zip_longest
zip_longest
itertools
find
replace
2
Second
Absolute Sorting
abs
sorted
2
First
Common Words
sorted
join
if-comprehension
in
list-comp
colin_conversion_from_camel_case
Conversion from CamelCase
isupper
lower
join
append
else
First
Call to Home
divmod
math.ceil
ceil
collections.defaultdict
defaultdict
Time Converter (24h to 12h)
Time Converter (24h to 12h)
datetime.strptime
strptime
datetime.datetime
datetime
lstrip
First
Bird Language
re.compile
compile
r-string
re
join
First
Pangram
punctuation
string.punctuation
ascii_lowercase
string.ascii_lowercase
strip
First
Secret Message
isupper
join
if-comprehension
list-comp
comprehension
Second
Pangram
punctuation
string.punctuation
ascii_lowercase
string.ascii_lowercase
strip
First
Absolute Sorting
keys
dict
zip
abs
sorted
O'Reilly
First
The Final Stone
sort
pop
print
while
append
4
First
Lightbulb End Watching
Optional
typing.Optional
is
datetime.datetime
any
4
First
Multiple Lightbulbs
typing.Union
Union
Optional
typing.Optional
groupby
4
First
Lightbulb Start Watching
Optional
typing.Optional
is
datetime.datetime
datetime
5
First
Lightbulb Operating
itertools.zip_longest
zip_longest
typing.Union
Union
Optional
7
First
Lightbulb Intro
datetime.datetime
datetime
List
typing.List
zip
8
First
Exploring Wythoff Array
math.pow
raise
pow
math.ceil
ceil
9
First
Integer Palindrome
collections.deque
deque
divmod
copy
collections
10
2
First
Sum of Digits
sum
print
while
list-comp
comprehension
12
4
First
Knapsack Problem
tuple
max
inline-if
sum
print
16
First
Flatten a List (generator version)
TypeError
yield
except
try
for
First
Flatten a List (iterator version)
iter
type
extend
or
append
First
Count Inversions
range
len
for
if
First
How Deep
isinstance
map
max
lambda
and
Second
Count Inversions
sum
if-comprehension
list-comp
range
comprehension
First
Chunk
itertools.zip_longest
zip_longest
iter
itertools
index
colin_the_flat_dictionary
The Flat Dictionary
AttributeError
extend
format
dict
except
3
First
Reverse Every Ascending
yield
isinstance
continue
enumerate
set
4
Second uses extend instead of flat_list helper function
Reverse Every Ascending
extend
continue
sort
enumerate
set
2
Third
Reverse Every Ascending
extend
dict-comp
sort
set
not
Second
Index Power
inline-if
len
First
Median of Three
statistics.median
statistics
median
extend
typing.Iterable
First
Compress List
itemgetter
operator.itemgetter
groupby
itertools.groupby
operator
First
Majority
bool
sum
list
len
Time Converter (12h to 24h)
Time Converter (12h to 24h)
startswith
endswith
not
elif
and
2
First
Sort Except Zero
insert
enumerate
index
typing.Iterable
Iterable
1
colin_Frequency_Sorting
Frequency Sorting
collections.Counter
Counter
collections
lambda
sorted
Second
Xs and Os Referee
count
join
list-comp
range
comprehension
First
Remove All After
index
typing.Iterable
Iterable
typing
in
First
Flatten a List
type
append
list
else
for
4
First
Replace Last
insert
pop
typing.Iterable
Iterable
typing
Second
Median
sort
else
len
if
2
First
Xs and Os Referee
all
not
count
or
elif
First
Index Power
IndexError
except
try
Incinerator
colin_dialogues
Dialogues
class
format
None
inline-if
join
4
very_wet_not_DRY_fight
The Vampires
class
isinstance
pass
pop
break
4
Second
Voice TV Control
class
or
in
range
else
6
2
colin_army_units
Army Units
class
raise
lower
6
First_colin_straight_fight
Straight Fight
AttributeError
class
itertools.zip_longest
zip_longest
staticmethod
7
3
colin_multicolored_lamp
Multicolored Lamp
cycle
itertools.cycle
class
next
itertools
14
2
colin_hacker_language
Hacker Language
class
isspace
chr
bin
ord
15
First
Voice TV Control
class
or
in
range
else
2
First_colin_the_warlords
The Warlords
setattr
class
getattr
hasattr
staticmethod
4
colin_text_editor
Text Editor
class
f-string
append
else
if
2
First_colin_the_healers
The Healers
class
staticmethod
property
decorator
is
colin_microwave_ovens
Microwave Ovens
class
object
divmod
super
pass
colin_the_lancers
The Lancers
class
staticmethod
property
decorator
zip
3
First_colin_the_weapons
The Weapons
AttributeError
class
itertools.zip_longest
zip_longest
staticmethod
5
colin_Capital_City
Capital City
class
object
if
colin_geometry_figures
Geometry Figures
class
math.pi
pi
math.sqrt
sqrt
Every Person is Unique
Every Person is Unique
class
date
datetime.date
format
datetime
2
Second
Friends
class
extend
remove
set
if-comprehension
colin_party_invitations
Party Invitations
class
TypeError
raise
isinstance
f-string
Second_thanks_Phil_15_and_a_hayashi
The Vampires
class
staticmethod
property
reversed
decorator
1
colin_3_chefs
3 Chefs
class
raise
format
2
colin_the_defenders
The Defenders
class
isinstance
pass
pop
break
3
colin_army_battles
Army Battles
class
pass
pop
break
not
colin_the_warriors
The Warriors
class
break
or
while
False
2
First
Friends
class
extend
remove
set
if-comprehension
First
Building Base
class
str
Mine
First
Aggregate by Operation
ZeroDivisionError
eval
pass
tuple
except
1
First
Fibonacci Poem
islice
itertools.islice
iter
itertools
break
2
First
Matrix "Hatching"
typing.Iterable
Iterable
typing
print
append
2
First
Determinant
list-comp
range
comprehension
len
for
6
First
Cut Sentence
shorten
textwrap.shorten
textwrap
False
len
6
First
Fast Train
any
zip
break
not
sum
7
First
Domino Chain
update
set-comp
strip
remove
pop
9
2
Best Stock
Best Stock
get
max
10
2
First
Checking Perfect Power
bool
print
while
False
True
14
First
"Lunar" Multiply
min
max
inline-if
print
join
15
First
Escape
math.sqrt
sqrt
math
or
while
20
First
Color Map
sort
None
break
not
if-comprehension
2
First
Switch Keys to Values
keys
dict
items
set
print
First
Achilles and the Tortoise
round
Third
Currency Style
X
re.X
translate
re.compile
compile
2
First
Chemical Analysis
collections.deque
deque
keys
islower
items
Second
Chemical Analysis
isdecimal
collections.deque
deque
findall
re.findall
First
Long Pressed
collections.Counter
Counter
strip
keys
collections
First
Adjacent Letters
enumerate
break
print
while
True
First
Replace with Biggest
enumerate
typing.Iterable
Iterable
max
typing
First
Bigger Together
cmp_to_key
functools.cmp_to_key
functools
map
sorted
First
Find Enemy
math.cos
cos
math.hypot
hypot
math.sin
First
Can Balance
enumerate
index
typing.Iterable
Iterable
typing
2
What is wrong with family
What Is Wrong With This Family?
set
or
elif
False
and
2
First
The Einstein Problem-Lite
class
set-comp
yield
is
all
Second
Can Balance
reversed
enumerate
index
typing.Iterable
Iterable
Second
Achilles and the Tortoise
round
2
First
Caesar Cipher (decryptor)
printable
string.printable
chr
string
ord
3
First
Currency Style
itertools.zip_longest
zip_longest
punctuation
string.punctuation
startswith
Second
Currency Style
startswith
rstrip
type
is
f-string
The greatest common divisor
The Greatest Common Divisor
functools.reduce
reduce
functools
lambda
else
2
First
Moore Neighbourhood
sum
if-comprehension
and
list-comp
comprehension
2
First
Disposable Teleports
endswith
strip
pop
set
while
Second
Binary Count
bin
count
First
Caesar Cipher (encryptor)
printable
string.printable
chr
string
ord
First
Binary Count
format
count
First
Fizz Buzz
elif
and
else
str
if
Ice Base
First
Write Quadratic Equation
f-string
pass
or
print
elif
3
First
Is String a Number?
isdigit
bool
print
False
True
3
First
Correct Capital
istitle
islower
isupper
bool
print
13
First
Identify Block
math.hypot
hypot
combinations
itertools.combinations
itertools
14
Second
Monkey Typing
set
lower
if-comprehension
in
comprehension
18
5
First
Reveal the Number
reverse
float
all
any
find
Second
Identify Block
items
tuple
zip
min
inline-if
First
Not in Order
zip
set
not
or
sum
First
Interesting, intersecting
tuple
bool
not
or
print
colin_oil_pie
Oil Pie
Fraction
fractions.Fraction
fractions
abs
sum
First
Count Chains
math.hypot
hypot
collections.defaultdict
defaultdict
Tuple
First
Move Zeros
not
or
print
append
list
First
When "k" is Enough!
collections.defaultdict
defaultdict
all
collections
typing.Iterable
First
Is String a Number? (Part II)
startswith
re.compile
compile
re
None
First
Counting Tiles
math.ceil
ceil
math
sum
if-comprehension
4
Second
Largest Rectangle in a Histogram
yield
enumerate
max
lambda
for
1
First
Largest Rectangle in a Histogram
yield
enumerate
min
max
lambda
First
How to Find Friends
class
union
add
items
break
First
Find Quotes
zip
enumerate
if-comprehension
list-comp
comprehension
Morse encoder
Morse Encoder
lower
split
range
else
len
First
Reverse Roman Numerals
while
len
for
Second
Long Repeat
groupby
itertools.groupby
itertools
max
list-comp
2
First
Roman Numerals
range
int
len
for
2
Second
The Most Numbers
round
min
max
inline-if
2
First
Feed Pigeons
extend
print
while
range
int
First
The Most Numbers
round
min
max
not
else
Alice In Wonderland
First
Flood Area
r-string
List
typing.List
enumerate
pop
4
First
YAML. List and Comments
partition
Exception
splitlines
startswith
raise
4
2
First
Swap Nodes
range
len
for
9
2
First
Tree Walker
isinstance
f-string
values
dict
items
11
2
Second
Zigzag Array
islice
itertools.islice
itertools.count
pow
itertools
17
2
First
The Shortest Knight's Path
values
tuple
continue
not
count
20
2
Second
Tree Walker
isinstance
values
dict
sum
list
2
Third
The Shortest Knight's Path
collections.deque
deque
collections
ord
set
First
Transposed Matrix
List
typing.List
zip
typing
list-comp
Third
IP Network: Route Summarization
itertools.takewhile
takewhile
ljust
format
itertools
1
Middle Characters
Middle Characters
else
len
if
Multiplication Table
Multiplication Table
bin
or
sum
join
append
2
When is Friday
When is Friday?
datetime.strptime
strptime
datetime.datetime
datetime
elif
First
Zigzag Array
reversed
List
typing.List
None
typing
Second
The Shortest Knight's Path
partition
ord
zip
continue
not
First
IP Network: Route Summarization
itertools.takewhile
takewhile
ljust
format
itertools
3
Second
Long Non Repeat
get
enumerate
else
for
if
Second
IP Network: Route Summarization
itertools.takewhile
takewhile
ljust
format
itertools
3
The fastest horse
The Fastest Horse
math.inf
inf
math
zip
index
Digits Doublets
Digits Doublets
difference
combinations
itertools.combinations
yield
is
4
Second
Digits Doublets
difference
combinations
itertools.combinations
yield
is
Second
Multiplication Table
bin
sum
join
list-comp
range
1
GitHub
First
Searchlights
math.cos
cos
math.hypot
hypot
math.sin
9
2
Paper_Dice
Paper Dice
isspace
items
tuple
zip
min
13
First
The Cheapest Flight
math.inf
inf
itemgetter
operator.itemgetter
collections.defaultdict
14
2
First
Shooting Range
math.inf
inf
ZeroDivisionError
math.hypot
hypot
15
2
First
Power Plants
Dict
typing.Dict
typing.Set
Set
clear
17
First
Simplify Unix Path
pass
not
or
join
in
3
Second
Expand Intervals
typing.Iterable
Iterable
typing
list-comp
range
1
First
Evenly Spaced Trees
math.gcd
gcd
combinations
itertools.combinations
add
2
Close
Cookies
re.search
search
re
else
if
colin_Solution_for_Anything
Solution for Anything
class
True
First
Expand Intervals
extend
typing.Iterable
Iterable
typing
range
4
First
Broken Clock
gmtime
time.gmtime
time.strftime
strftime
time
First - (credit Nikie)
Painting Wall
continue
sort
enumerate
not
while
2
First
Open Labyrinth
heappush
heapq.heappush
heappop
heapq.heappop
heapq
First
Long Repeat Inside
re.compile
compile
reversed
continue
enumerate
Second
The Most Frequent Weekdays
calendar.monthrange
monthrange
calendar.weekday
weekday
calendar
First
Area of a Convex Polygon
math.atan2
atan2
round
math
pop
Second
Create Intervals
continue
sort
not
append
range
First
The Most Frequent Weekdays
calendar.monthrange
monthrange
calendar.weekday
weekday
calendar
2
First
The End of Other
combinations
itertools.combinations
endswith
any
itertools
Second
The End of Other
itertools.permutations
permutations
endswith
any
itertools
Dropbox
First
Calculator-I
operator.sub
operator.add
startswith
digits
string.digits
3
First
Hubspot Amulet
itertools.product
product
itertools
in
and
9
5
First
On the same path
typing.Union
Union
Tuple
typing.Tuple
List
12
2
First
Rotating Grille Cipher
Optional
typing.Optional
collections.deque
deque
any
16
First
Nonogram Row
all
zip
pop
None
not
19
First
Huffman Encode
class
collections.deque
deque
is
collections.Counter
First
Sort Sorted Groups
ge
operator.ge
le
operator.le
operator
Second
Three Points Circle
eval
format
round
2
First
Text Formatting
fill
textwrap.fill
textwrap.wrap
wrap
textwrap
2
First
Common Tail
intersection
reversed
zip
index
None
First
The Longest Palindromic
combinations
itertools.combinations
itertools
and
range
First
Scytale Encryption
copy.copy
Optional
typing.Optional
math.ceil
ceil
First
Place Queens
add
enumerate
pop
set
while
2
First
Atbash Cipher
ascii_uppercase
string.ascii_uppercase
update
reversed
ascii_lowercase
First
Simple Hashlib
hashlib.new
new
hashlib
update
2
First
Three Points Circle
float
format
round
Humpty Dumpty Form
Humpty Dumpty Form
math.log
log
math.asin
asin
math.pi
1
Worth of Words
Worth of Words
index
max
append
for
First
Speech Module
divmod
or
elif
and
else
Second
Speech Module
join
append
if
2
First
Friendly Number
ljust
float
round
find
enumerate
PyCon TW
First
Double Substring
findall
re.findall
r-string
re
max
7
2
First
Fused Cubes
collections.defaultdict
defaultdict
update
Tuple
typing.Tuple
7
2
Second
Golden Pyramid
max
range
list
comprehension
len
13
Second
Calculate Islands
add
sort
set
not
sum
14
2
Third
Golden Pyramid
max
range
list
comprehension
len
2
Simple Areas
Simple Areas
math.pi
pi
math.sqrt
sqrt
math
First
Calculate Islands
add
sort
set
not
if-comprehension
First
Sum Consecutives
groupby
itertools.groupby
itertools
sum
list-comp
2
First
Ryerson Letter Grade
itertools.zip_longest
zip_longest
iter
rstrip
keys
Second
Digit Stack
pop
in
elif
append
int
1
First
Building Visibility
float
all
add
enumerate
pop
First
Golden Pyramid
max
range
list
comprehension
len
2
First
How Much Gold
Fraction
fractions.Fraction
fractions
type
is
First
Express Delivery
chain
itertools.chain
raise
ValueError
float
First
Robot Sort
zip
not
join
while
False
2
First
Digit Stack
pop
and
append
split
else
2
Second
House Password
isalnum
digits
string.digits
ascii_uppercase
string.ascii_uppercase
Storage
First
Digging a Canal
class
collections.namedtuple
namedtuple
extend
float
3
2
First
Square Spiral
math.ceil
ceil
next
math.sqrt
sqrt
9
1
First
Exec Quine
lambda
9
First
The Rows of Cakes
groupby
itertools.groupby
combinations
itertools.combinations
add
11
4
Second
Word Pattern
zfill
bin
lstrip
isdigit
inline-if
11
2
First
Group Equal consecutive
groupby
itertools.groupby
itertools
list-comp
list
19
2
First
Working Hours Calculator
datetime.strptime
strptime
datetime.timedelta
timedelta
set-comp
20
First
Battle Dice
functools.lru_cache
lru_cache
collections.namedtuple
namedtuple
decorator
Weak Point
Weak Point
zip
index
min
sum
list-comp
First
Moria Doors
punctuation
string.punctuation
itemgetter
operator.itemgetter
rstrip
2
Saw the Stick
Saw the Stick
itertools.accumulate
accumulate
math.ceil
ceil
copy
1
Second
Earth Distances
math.radians
radians
math.cos
cos
math.sin
First
English to Braille Translator
zfill
bin
ord
map
isupper
First
Earth Distances
math.cos
cos
math.sin
sin
re.compile
First
Playfair Cipher
partition
setdefault
isalnum
digits
string.digits
Third
Skew-symmetric Matrix
all
enumerate
comprehension
Second
Skew-symmetric Matrix
inline-if
False
True
list-comp
range
3
First
Word Pattern
zfill
extend
bin
lstrip
zip
First
Skew-symmetric Matrix
count
False
append
True
range
HubSpot
First
Univocalic davasaan
lambda
1
First
Inscribe a Contour
math.atan2
atan2
randint
random.randint
math.cos
2
2
First
Next Birthday
Dict
typing.Dict
Tuple
typing.Tuple
date
10
1
First
City's Happiness
discard
difference
itemgetter
operator.itemgetter
copy.deepcopy
12
First
Non Empty Lines
isspace
sum
if-comprehension
and
True
19
2
First
Workout
math.ceil
ceil
float
List
typing.List
First
Square Board
List
typing.List
typing
in
elif
2
First
New Cities
difference_update
update
set
count
and
2
First
Node Disconnected Users
values
count
sum
in
elif
Repeating Decimals
Repeating Decimals
divmod
insert
index
break
join
First
Weekly Calendar
datetime.timedelta
timedelta
date
datetime.date
datetime
Second
The Hamming Distance
format
abs
inline-if
sum
list-comp
Third
Number Base
digits
string.digits
ascii_uppercase
string.ascii_uppercase
string
2
Second
Number Base
ascii_uppercase
string.ascii_uppercase
string
dict
zip
2
First
Number Base
digits
string.digits
ascii_uppercase
string.ascii_uppercase
string
First
The Hamming Distance
format
abs
sum
append
range
First
Restricted Sum
else
len
if
Blizzard
First
Permutation Index
math.factorial
factorial
Tuple
typing.Tuple
math
7
2
colin_stair_steps_space_optimised
Stair Steps
max
range
len
for
13
1
First
Useless Flights
itemgetter
operator.itemgetter
raise
collections.defaultdict
defaultdict
14
Second
Useless Flights
itemgetter
operator.itemgetter
raise
collections.defaultdict
defaultdict
15
First
Mountain Scape
math.atan2
atan2
math.inf
inf
collections.namedtuple
First
Reversed Permutation Index
reverse
divmod
insert
pop
typing.Iterable
1
First
Weekend Counter
datetime.fromordinal
fromordinal
date
datetime.date
datetime
1
First
Rectangles Union
class
Tuple
typing.Tuple
dict-comp
List
3
First
The First Working Day
datetime.strptime
strptime
datetime.timedelta
timedelta
datetime.datetime
2
First
Unlucky Days
date
datetime.date
datetime
range
for
2
Second
Unlucky Days
date
datetime.date
datetime
inline-if
sum
2
Second
The Angles of a Triangle
math.degrees
degrees
math.acos
acos
round
First
Stressful Subject
IGNORECASE
re.IGNORECASE
re.compile
compile
re.search
Second
Min and Max
get
None
sorted
True
len
2
First
Radiation Search
add
enumerate
set
max
not
First
The Angles of a Triangle
math.acos
acos
math.pi
pi
round
Rock
First
River Crossing
math.ceil
ceil
math
min
None
1
1
First
Greedy Number
map
index
max
print
while
1
First
Black Holes
math.hypot
hypot
combinations
itertools.combinations
math.acos
4
2
First
Crossword Solver
dir
class
groupby
itertools.groupby
next
5
1
First
Park Benches
groupby
itertools.groupby
combinations
itertools.combinations
Tuple
5
colin_beserk_rook
Berserk Rook
set-comp
ord
pop
min
set
7
Second
River Crossing
math.ceil
ceil
math
min
None
7
First
Fibonacci Spiral's End
operator.sub
operator.add
cycle
itertools.cycle
operator
14
First
Most Efficient Cutting
yield
collections.Counter
Counter
keys
all
14
First
Hexagonal Islands
typing.Set
Set
set-comp
yield
ord
Second
Berserk Rook
set-comp
ord
pop
min
set
2
Second
Most Efficient Cutting
yield
all
add
min
set
2
Super Root
Super Root
math.log
log
math
abs
while
First_and_too_long_colin_water_jars
Water Jars
StopIteration
KeyError
collections.deque
deque
update
First
Sort by Removing
not
append
list
else
for
Second
Black Holes
math.hypot
hypot
combinations
itertools.combinations
math.acos
Second
Water Jars
collections.deque
deque
keys
add
collections
First
Parity Bit Generator
chr
format
count
append
int
First
CheckSum
isalnum
digits
string.digits
ascii_uppercase
string.ascii_uppercase
3
Second
CheckSum
ascii_letters
string.ascii_letters
isalnum
digits
string.digits
Second
Parity Bit Generator
chr
format
count
join
if-comprehension
Shelter
First
Halloween Monsters
from_iterable
itertools.from_iterable
itemgetter
operator.itemgetter
chain
The nearest square number
The Nearest Square Number
math.sqrt
sqrt
math
else
int
Seven Segment
Seven Segment
LookupError
itertools.product
product
copy
ValueError
2
Completely_Empty
Completely Empty
TypeError
type
isinstance
keys
dict
First
ADFGVX Cipher
dict-comp
zip
enumerate
isalpha
index
Pattern Recognition
Pattern Recognition
print
elif
and
range
else
Codeship
colin_8_puzzle
8 Puzzle
eq
operator.eq
class
collections.namedtuple
namedtuple
3
First
Ugly Numbers
min
range
int
for
if
6
Second
Probably Dice
math.factorial
factorial
math.floor
floor
ValueError
11
First
Magic with 5 cards
reversed
insert
get
add
tuple
12
First
Probably Dice
math.factorial
factorial
math.floor
floor
ValueError
4
First
Snake Lite
float
tuple
continue
enumerate
None
First
Pearls in the Box
itertools.product
product
itertools
round
count
Second
Pearls in the Box
itertools.product
product
itertools
round
count
2
First
Unfair Dice
combinations_with_replacement
itertools.combinations_with_replacement
math.gcd
gcd
Fraction
First
Bats Bunker
math.hypot
hypot
collections.namedtuple
namedtuple
insert
The_square_chest
The Square Chest
reversed
in
elif
list-comp
list
Hermit
First
Birthday Party
datetime.timedelta
timedelta
date
datetime.date
datetime
1
First
Shorter Set
remove
min
set
max
or
2
First
Keywords Finder
itertools.tee
tee
rf-string
escape
re.escape
6
colin_network_loops
Network Loops
collections.defaultdict
defaultdict
yield
add
collections
19
2
Strawberry Fields
Strawberry Fields
math.degrees
degrees
math.acos
acos
round
19
First
Excel Column Number
ord
enumerate
print
int
str
20
First
Unique Email Addresses
partition
add
replace
set
not
Second
Unique Email Addresses
re.compile
compile
r-string
add
re
First
Stock Profit
min
max
print
list
int
First
Fractions Addition
Fraction
fractions.Fraction
fractions
divmod
sum
First
Count Consecutive Summers
while
and
int
if
1
First
The Good Radix
digits
string.digits
ascii_uppercase
string.ascii_uppercase
string
First
Colder-Warmer
math.hypot
hypot
itertools.product
product
set-comp
Second
The Good Radix
digits
string.digits
ascii_uppercase
string.ascii_uppercase
string
Watchtower
First
Magic Square
difference
divmod
filter
ValueError
all
11
1
First
Number Guess
intersection_update
set
max
range
for
18
2
First_colin_wall_keeper
Wall Keeper
class
clear
property
decorator
tuple
Second
Funny Addition
sum
2
First
Bag of Santa Claus
math.e
e
math.inf
inf
math
First
Rotate Hole
set
sum
sorted
while
if-comprehension
Convex Hull
Convex Hull
reversed
tuple
pop
index
set
Second
Rotate Hole
set
sum
sorted
while
if-comprehension
Vigenere Cipher
Vigenere Cipher
divmod
chr
ord
zip
join
First
Funny Addition
Escher
First_colin_crop_rotate_keys_and_locks
Keys and Locks
itemgetter
operator.itemgetter
operator
any
zip
11
First
Card Game
collections.Counter
Counter
values
collections
break
13
First
Graphical Key
copy.copy
discard
collections.defaultdict
defaultdict
copy
19
3
Second
Graphical Key
discard
set-comp
dict-comp
add
enumerate
20
3
First
Hypercube
issubset
TypeError
yield
isinstance
pass
First_colin_with_thanks
The Stones
all
set
False
and
True
1
First_simple_secret_room
The Secret Room
divmod
index
sorted
elif
append
2
First_the_buttons_with_graph_connected_components
The Buttons
difference_update
class
splitlines
object
collections.defaultdict
2
First_colin_wild_dogs_dictionary_free
Wild Dogs
ZeroDivisionError
combinations
itertools.combinations
math.sqrt
sqrt
First_OrderedDict
Treasures
OrderedDict
collections.OrderedDict
math.ceil
ceil
items
Second_colin_safe_code_after_extra_tests
Safe Code
operator.sub
operator.add
partition
mul
operator.mul
First_colin_ground_for_the_house
Ground for the House
itemgetter
operator.itemgetter
operator
min
max
2
First_colin_stone_wall
The Stone Wall
set-comp
values
items
enumerate
min
1
First_olin_map_compass_spyglass
Compass, Map and Spyglass
math.sqrt
sqrt
math
min
abs
2
First_colin_the_ship_teams
The Ship Teams
items
sorted
append
else
for
Not On Map
First
Aggregate and Count
collections.defaultdict
defaultdict
dict
collections
print
2