10
Shmebula
2 6 18
484/ 545
Last seen 1 year ago
Member for 7 years, 5 months, 13 days
Difficulty Normal
Missions (45) / Solutions (45)
Best solutions / Newest solutions
Home
One liner
Bigger Price
lambda
sorted
True
That was easier
Days Between
datetime.datetime
datetime
abs
strptime
Days Between
datetime.strptime
strptime
datetime.datetime
format
datetime
set.intersection
Pawn Brotherhood
intersection
chr
format
ord
set
Comprehension heavy + map. Credit goes to Kerulen (solution Jul 30th, 2014)
Pawn Brotherhood
chr
any
ord
map
if-comprehension
First
Right to Left
replace
join
Slice copy and remove
Non-unique Elements
remove
count
for
if
Electronic Station
_is_left_bracket and _is_right_bracket methods with pop and append to list
Brackets
pop
except
try
if-comprehension
elif
Sorted Replace
Verify Anagrams
replace
lower
sorted
First
Digits Multiplication
int
str
for
if
Scientific Expedition
Lists in interim steps
Cipher Map
tuple
enumerate
join
append
list-comp
Helper methods
Morse Clock
bin
replace
inline-if
join
list-comp
<3
I Love Python!
1
Used str.maketrans and str.translate
Striped Words
translate
upper
None
in
elif
Use str.maketrans and added string.punctuation
Striped Words
punctuation
string.punctuation
translate
string
upper
Dict and List Comprehension
The Most Wanted Letter
ascii_lowercase
string.ascii_lowercase
values
dict-comp
string
Sorted Set
Common Words
set
sorted
join
split
First
Absolute Sorting
sort
abs
list-comp
comprehension
First
Secret Message
isupper
join
append
for
if
Take 2: checkio has taught me the power of list comprehensions
Secret Message
isupper
join
if-comprehension
list-comp
comprehension
O'Reilly
Winning States list
Xs and Os Referee
in
and
for
if
4
Median if then
Median
sort
else
len
if
First
Index Power
else
len
if
Incinerator
Simple Sets
Friends
class
remove
set
in
False
Mine
First
Currency Style
startswith
format
replace
join
in
row_min, row_max, col_min, col_max
Moore Neighbourhood
min
max
not
and
range
Trivial
Binary Count
bin
count
Ice Base
Not too happy with this one...
Making Change
itertools.permutations
permutations
pass
itertools
remove
Calc angles then min of mixes of angles
Clock Angle
min
abs
list-comp
split
comprehension
Recursive
How to Find Friends
format
remove
enumerate
or
in
Simple list comprehension length
Monkey Typing
lower
if-comprehension
in
list-comp
comprehension
Romanize sub function
Roman Numerals
format
print
join
elif
append
Second
The Most Numbers
min
max
inline-if
First
The Most Numbers
min
max
append
else
len
GitHub
datetime.weekday
The Most Frequent Weekdays
date
datetime.date
datetime
min
max
Lazy and inefficient
The End of Other
False
and
True
len
for
Dropbox
Burn through string and find all palindromes and then max it out
The Longest Palindromic
max
append
range
len
for
HubSpot
Use Python's XOR
The Hamming Distance
bin
count
Short Recursion
Restricted Sum
elif
list
len
if
First
Number Base
ord
enumerate
except
try
else
Blizzard
Generator almost got me...
Min and Max
iter
is
get
None
except
2nd: Cleaned up iter(args[0]) by removing try/except blocks
Min and Max
iter
is
None
except
try
Shelter
Try/except
Completely Empty
except
try
False
list-comp
comprehension
First
Ghosts Age
inline-if
while
in
list-comp
range
Watchtower
Compare Results
Compare Functions
pass
None
except
try
elif