15
TKO_Mak
4 15 26
968/ 1195
Mak Cheuk Lam
Last seen 1 year ago
Member for 6 years, 4 months, 11 days
Difficulty Normal
Missions (78) / Solutions (84)
Best solutions / Newest solutions
Initiation
First
Correct Sentence
endswith
upper
not
str
if
First
All the Same
Any
typing.Any
List
typing.List
bool
First
The Most Frequent
setdefault
get
max
print
for
Assume list contains >=3 elements
Easy Unpack
len
Home
abuse Regex
First Word
re.I
I
re.compile
compile
r-string
index
Second Index
find
None
else
str
len
First
Popular Words
setdefault
replace
lower
print
split
First
Bigger Price
get
remove
index
append
range
First
Days Between
date
datetime.date
datetime
abs
First
Between Markers
index
print
in
elif
and
replace
Date and Time Converter
startswith
zip
replace
inline-if
print
First
Right to Left
replace
join
list
First
Pawn Brotherhood
chr
ord
set
print
in
1
abuse Regex
Three Words
re.I
I
re.compile
compile
r-string
First
Even the Last
IndexError
except
try
print
range
I did this before finding out the set() function...
Non-unique Elements
count
print
append
for
if
Electronic Station
First
Digits Multiplication
int
str
for
if
First
Boolean Algebra
not
or
False
and
True
First
Verify Anagrams
replace
lower
print
sorted
False
First
Brackets
in
False
and
append
True
Scientific Expedition
didn't transpose
The Hidden Word
continue
IndexError
index
break
replace
easy
Conversion from CamelCase
startswith
replace
lower
print
for
Dictionary
Call to Home
setdefault
math.ceil
ceil
values
math
No need to use Re
Bird Language
pass
IndexError
except
try
print
First
Pangram
upper
print
False
True
for
First
I Love Python!
First
Cipher Map
print
join
range
len
for
lazy method
Common Words
set
sorted
split
list
for
First
Striped Words
upper
isalpha
break
replace
print
First
Absolute Sorting
abs
print
sorted
append
int
First
Secret Message
upper
isalpha
and
for
if
First
The Most Wanted Letter
isalpha
lower
count
print
sorted
O'Reilly
try, except
Index Power
IndexError
except
try
iteration
Flatten a List
type
is
append
list
else
First
Xs and Os Referee
isalpha
range
for
if
First
Median
sorted
else
int
len
if
Incinerator
First
Friends
class
remove
set
in
False
Mine
lol hope you can read this...
What Is Wrong With This Family?
setdefault
values
keys
get
items
14
First
Cut Sentence
print
split
else
len
for
written with comments
Cut Sentence
split
else
len
for
if
Time starts counting when t2 starts
Achilles and the Tortoise
print
bin() and count()
Binary Count
bin
count
Dict.items
Best Stock
items
int
for
if
First
Fizz Buzz
elif
else
str
if
Ice Base
inspired by the best solution from "Roman Numerals"
Reverse Roman Numerals
zip
replace
count
split
int
19
First
The Most Numbers
ValueError
float
min
except
try
assume the input contains all numbers
Roman Numerals
print
range
int
str
len
First
Long Repeat
range
else
len
for
if
First
How to Find Friends
pass
remove
continue
index
set
organization is important!
How to Find Friends
pass
remove
continue
index
set
First
Monkey Typing
lower
in
for
if
Alice In Wonderland
Generators
Multiplication Table
bin
index
list-comp
range
comprehension
nothing special
Long Non Repeat
set
print
and
append
range
GitHub
Easy to understand
Simplify Unix Path
startswith
endswith
pass
remove
continue
12
1
First
Long Repeat Inside
set
count
sorted
and
append
Dropbox
a sequence is Palindromic if it also appears in the reverse of text
The Longest Palindromic
reversed
print
join
in
and
9
2
easy to understand
Three Points Circle
ZeroDivisionError
endswith
math.sqrt
sqrt
round
if elif elif elif elif elif...
Simple Hashlib
hashlib.sha1
hashlib.sha224
hashlib.sha256
hashlib.sha384
hashlib.sha512
tricked by decimals...
Friendly Number
Decimal
decimal.Decimal
decimal
math.floor
floor
1
2nd try, no brute force
Friendly Number
Decimal
decimal.Decimal
decimal
math.floor
floor
math
Humpty Dumpty Form
math.log
log
math.asin
asin
math.pi
Not very efficient
Numbers Factory
continue
None
replace
print
sorted
PyCon TW
Dynamic addition to list:island
Calculate Islands
clear
copy.deepcopy
deepcopy
copy
remove
18
First
Double Substring
set
count
print
and
append
Dijkstra
Network Attack
clear
setdefault
tuple
continue
min
eval
Digit Stack
eval
pass
pop
append
split
abusing re module
House Password
re.compile
compile
r-string
re
False
Storage
transpose
Skew-symmetric Matrix
False
True
list-comp
range
comprehension
not using yield
Saw the Stick
sum
print
while
append
range
HubSpot
First
Number Base
ValueError
except
try
int
First
The Hamming Distance
pass
bin
max
append
range
Blizzard
Edit distance
String Conversion
min
append
range
else
len
consider edge cases
Weekend Counter
date
datetime.date
datetime
or
print
First
Min and Max
get
None
print
sorted
False
a bit of math
The Angles of a Triangle
math.degrees
degrees
math.acos
acos
round
Shelter
clear encode,messy decode
ADFGVX Cipher
math.ceil
ceil
pass
math
continue
15
First
Ghosts Age
set
sorted
while
in
append
Codeship
#see http://mathworld.wolfram.com/Dice.html
Probably Dice
math.factorial
factorial
math.floor
floor
math
bruteforce
The Square Chest
break
print
sorted
range
for
First
The Square Chest
break
sorted
range
for
if
Watchtower
rotation
Rotate Hole
print
append
range
list
str
13
First
Funny Addition