18
Thenbacker
4 18 36
1716/ 1945
Last seen 6 years ago
Member for 7 years, 8 months, 8 days
Difficulty Normal
Missions (111) / Solutions (100)
Best solutions / Newest solutions
Home
First
Three Words
isdigit
elif
False
True
split
1
First
Days Between
date
datetime.date
datetime
else
if
First
Non-unique Elements
count
if-comprehension
list-comp
comprehension
First
Right to Left
replace
join
append
range
len
2
First
Even the Last
sum
append
range
else
len
Electronic Station
First
Find Sequence
groupby
itertools.groupby
numpy.array
array
numpy
16
First
Can You Pass?
pass
pop
or
while
in
First
Verify Anagrams
replace
lower
sorted
list
First
Digits Multiplication
pass
else
int
str
for
First
Boolean Algebra
or
and
if
Scientific Expedition
First
Letter Queue
join
append
else
len
for
1
First
The Hidden Word
finditer
re.finditer
re
replace
max
First
Striped Words
punctuation
string.punctuation
isalnum
rstrip
string
1
First
Call to Home
math.ceil
ceil
math
in
split
Second, I had to use Counter after seeing it...
Call to Home
math.ceil
ceil
collections.Counter
Counter
collections
First, turn, turn
Cipher Map
while
append
range
len
for
First
Bird Language
while
in
elif
else
len
First, What's not to love about Python
I Love Python!
First
Pangram
ascii_lowercase
string.ascii_lowercase
strip
string
set
First
Absolute Sorting
abs
sorted
First
Morse Clock
zfill
bin
split
range
list
First
Common Words
set
sorted
join
split
list
First
The Most Wanted Letter
update
collections.Counter
Counter
collections
isalpha
First
Secret Message
isupper
for
if
O'Reilly
First, topsort
Determine the Order
collections.defaultdict
defaultdict
extend
collections
continue
First
Count Inversions
sorted
while
range
list
len
1
First, yet another recursion example
Flatten a List
isinstance
extend
inline-if
append
list
1
First
Index Power
IndexError
except
try
First
Median
sorted
else
int
len
if
Long and messy
Xs and Os Referee
elif
range
str
len
for
2
Incinerator
First
Friends
class
union
remove
set
if-comprehension
First, hmm I should be using more classes
Building Base
class
format
str
Mine
First, with some help of Sim0000!
Disposable Teleports
collections.deque
deque
collections.defaultdict
defaultdict
collections
6
1
First, a long solution
Color Map
collections.defaultdict
defaultdict
pass
collections
break
First
Currency Style
continue
replace
or
elif
split
First
Achilles and the Tortoise
round
First
Fizz Buzz
and
str
if
First
Moore Neighbourhood
pass
IndexError
except
try
or
Ice Base
First
Largest Rectangle in a Histogram
pass
IndexError
enumerate
min
except
First, it's a classic
Making Change
float
None
range
else
len
First, absolutely
Clock Angle
round
min
abs
split
int
First, BFS....again
How to Find Friends
collections.defaultdict
defaultdict
pass
collections
pop
First
Monkey Typing
lower
sum
if-comprehension
in
list-comp
First
The Most Numbers
min
max
else
len
if
Alice In Wonderland
First
IP Network: Route Summarization
zfill
bin
enumerate
join
and
First, BFS
Digits Doublets
continue
enumerate
pop
while
if-comprehension
First
Multiplication Table
format
int
str
for
First
Transposed Matrix
append
range
len
for
GitHub
First
Area of a Convex Polygon
abs
range
len
for
First, I want to see the other solutions...
Power Supply
from_iterable
itertools.from_iterable
chain
itertools.chain
collections.deque
First
Broken Clock
time.split
gmtime
time.gmtime
time.strftime
strftime
First
The Most Frequent Weekdays
datetime.timedelta
timedelta
date
datetime.date
datetime
First, like so many others
Solution for Anything
class
True
str
First
The End of Other
continue
max
False
and
True
First
Open Labyrinth
collections.defaultdict
defaultdict
strip
collections
remove
Dropbox
First
The Longest Palindromic
append
range
else
len
for
Second, shorter
The Longest Palindromic
max
if-comprehension
list-comp
range
comprehension
First, really nothing special, just read the documentation
Simple Hashlib
hashlib.new
new
hashlib
First
Humpty Dumpty Form
math.atanh
atanh
math.asin
asin
math.pi
2
First
Numbers Factory
mul
operator.mul
operator
reversed
functools.reduce
First
The Best Number Ever
random.uniform
uniform
random
print
First
Speech Module
divmod
elif
and
list-comp
comprehension
PyCon TW
First
Golden Pyramid
amax
numpy.amax
matrix
numpy.matrix
numpy.zeros
2
First
Robot Sort
enumerate
sum
join
while
append
First; I am sure this can be shortened
Calculate Islands
collections.defaultdict
defaultdict
pass
collections
pop
3
Second, a lot shorter with help of Ardillo95
Calculate Islands
collections.defaultdict
defaultdict
pass
collections
pop
First, BFS
Network Attack
discard
collections.defaultdict
defaultdict
dict-comp
pass
First
Digit Stack
sum
append
split
else
int
First
House Password
islower
isupper
isdigit
sum
if-comprehension
Storage
First, True == 1
Restricted Prime
continue
while
False
append
True
First
Skew-symmetric Matrix
continue
False
True
range
else
First
The Rows of Cakes
collections.deque
deque
itertools.product
product
filter
First
Saw the Stick
break
except
try
sum
print
First
Word Pattern
zfill
isnumeric
bin
enumerate
isalpha
First: always room for improvement
Weak Point
index
min
sum
append
range
1
HubSpot
First, shuffle
Auto Painting
random.shuffle
shuffle
random
set
join
First
Restricted Sum
eval
map
join
str
2
First
Number Base
except
try
int
1
Blizzard
First
Safe Coasts
pass
continue
IndexError
replace
except
First, import datetime
Unlucky Days
datetime.timedelta
timedelta
date
datetime.date
datetime
1
First
Weekend Counter
datetime.fromordinal
fromordinal
date
datetime.date
datetime
Second, timedelta & days
Weekend Counter
datetime.timedelta
timedelta
datetime
if-comprehension
list-comp
First
The Angles of a Triangle
math.degrees
degrees
math.acos
acos
round
First, long and messy
Min and Max
type
is
pass
get
tuple
7
Rock
First, really nothing special
Black Holes
numpy.sin
numpy.pi
numpy.arccos
arccos
matrix
1
First, backtrack and shuffle
Crossword Solver
random.sample
sample
random
itemgetter
operator.itemgetter
19
First, higher? lower?
Super Root
while
elif
range
else
for
Shelter
First
ADFGVX Cipher
fromkeys
math.ceil
ceil
pass
dict
8
First, DFS and Euler
One line Drawing
collections.deque
deque
collections.defaultdict
defaultdict
dict-comp
First
Pattern Recognition
pass
IndexError
except
try
range
2
Fear, with help of SO
Ghosts Age
math.sqrt
sqrt
round
math
abs
Second
Ghosts Age
while
in
append
range
else
Codeship
First, brute force (dark force?)
Unfair Dice
combinations_with_replacement
itertools.combinations_with_replacement
itertools
sum
elif
3
35
First
The Square Chest
issubset
tuple
set
sorted
range
Hermit
First, BFS again ...
Network Loops
collections.deque
deque
collections.defaultdict
defaultdict
set-comp
First
Mono Captcha
range
int
str
len
for
Second, learned from the masters
The Good Radix
pass
except
try
range
int
1
Watchtower
First, this solution takes forever...
DNA Common Sequence
collections.deque
deque
collections.defaultdict
defaultdict
collections
First, just guessing...
Number Guess
intersection
continue
min
set
if-comprehension
2
First, no need for 'sum'
Funny Addition
eval
strip
replace
str