17
han97
4 17 25
1606/ 1695
Khan Ag
Last seen 5 months ago
Member for 7 years, 10 months, 12 days
Difficulty Normal
Missions (75) / Solutions (76)
Best solutions / Newest solutions
Home
First
Pawn Brotherhood
set-comp
ord
or
in
comprehension
First
Three Words
isalpha
join
False
True
split
3
First
Right to Left
replace
join
comprehension
First
Days Between
date
datetime.date
datetime
abs
Second
Non-unique Elements
dict
items
remove
if-comprehension
in
First
Even the Last
IndexError
except
try
sum
First
Non-unique Elements
dict
items
remove
in
list
1
Electronic Station
First
Find Sequence
numpy.array
array
chain
itertools.chain
numpy
First
Brackets
continue
pop
not
or
in
First
Boolean Algebra
not
lambda
or
and
First
Digits Multiplication
functools.reduce
reduce
functools
lambda
if-comprehension
Scientific Expedition
First
I Love Python!
hasattr
yield
abs
list-comp
range
First
Common Words
set
sorted
join
split
First
Absolute Sorting
abs
lambda
sorted
First
Letter Queue
collections.deque
deque
re.compile
compile
collections
First
Secret Message
isupper
join
if-comprehension
comprehension
Regex. Sub method
Bird Language
re.sub
sub
r-string
re
First
Pangram
lowercase
string.lowercase
punctuation
string.punctuation
string
First
The Most Wanted Letter
values
get
dict
items
isalpha
O'Reilly
First
Count Inversions
sum
range
comprehension
len
1
First
Index Power
IndexError
except
try
1
First
Median
sort
len
if
First
Xs and Os Referee
zip
enumerate
break
if-comprehension
elif
Incinerator
First
Friends
class
frozenset
set-comp
functools.reduce
reduce
First
Building Base
class
Mine
First
Color Map
yield
add
enumerate
set
max
15
First
Binary Count
bin
count
First
Moore Neighbourhood
itertools.product
product
itertools
continue
or
1
First
Fizz Buzz
lambda
elif
str
if
Ice Base
First
Monkey Typing
lower
sum
in
comprehension
First
Feed Pigeons
while
elif
else
if
First
How to Find Friends
class
dict
not
False
append
First
The Most Numbers
min
max
else
if
First
Roman Numerals
reversed
yield
continue
join
elif
Alice In Wonderland
A* algorithm
The Shortest Knight's Path
heappush
heapq.heappush
heappop
heapq.heappop
heapq
GitHub
First
Solution for Anything
class
pass
True
2
Sum areas under lines considering sign(+/-) of area.
Area of a Convex Polygon
abs
sum
range
comprehension
len
First
Open Labyrinth
yield
not
for
if
4
First
The End of Other
any
and
comprehension
len
Dropbox
First
The Best Number Ever
functools.reduce
reduce
functools
enumerate
break
1
First
Simple Hashlib
getattr
hashlib
First
Numbers Factory
all
map
min
set
not
First
Three Points Circle
a
r
sympy.abc.a
sympy.abc.r
sympy.solvers.solve
PyCon TW
First
How Much Gold
sympy.solve
sympy.symbols
symbols
solve
sympy
4
Second
Express Delivery
heappush
heapq.heappush
heappop
heapq.heappop
heapq
First
Express Delivery
StopIteration
KeyError
next
yield
continue
Bubble sort
Robot Sort
join
while
append
range
list
First
Golden Pyramid
itertools.product
product
itertools
IndexError
break
First
House Password
islower
isupper
isdigit
elif
False
Storage
First
Mind Switcher
Cycle
Perm
sympy.combinatorics.permutations.Cycle
sympy.combinatorics.permutations.Perm
sympy
1
3
Without sympy.combinatorics.permutations
Mind Switcher
class
union
yield
functools.reduce
reduce
15
2
Using magic methods. Dirty solution
Restricted Prime
ord
while
False
True
int
1
First
Word Pattern
zfill
bin
zip
map
isalpha
First
Moria Doors
punctuation
string.punctuation
reversed
strip
float
First
Weak Point
zip
enumerate
min
sum
if-comprehension
Second
Weak Point
zip
enumerate
min
sum
comprehension
HubSpot
First
Number Base
ValueError
except
try
int
First
The Hamming Distance
bin
count
First
Restricted Sum
else
len
if
Blizzard
First
Min and Max
TypeError
iter
next
get
enumerate
First
Radiation Search
class
staticmethod
union
yield
decorator
Shelter
DFS.
One line Drawing
class
Exception
raise
copy
values
Codeship
Group by hands, then find maximum value.
Texas Referee
combinations
itertools.combinations
itertools
pop
index
5
1
Restricted and memoized brute-force
Unfair Dice
Exception
raise
add
tuple
min
1
Based on common sense
Behind 2048
reversed
zip
map
break
not
as simple as first and second method in the task.
Minesweeper
yield
pop
elif
False
and
Based on magic ( Mathematics indeed )
Probably Dice
float
inline-if
sum
range
comprehension
First
Pearls in the Box
Fraction
fractions.Fraction
fractions
round
sum
Hermit
1.Using custom class. 2. Using simpy
Simplification
locals
class
eval
re.sub
sub
Regex rulezz
Keywords Finder
escape
re.escape
re.I
I
finditer
First
Break Rings
union
combinations
itertools.combinations
functools.reduce
reduce
1
generator comprehension
The Good Radix
StopIteration
next
except
try
max
Watchtower
First
Numbered Triangles
KeyError
set-comp
yield
ValueError
pass
10
First
Rotate Hole
collections.deque
deque
all
collections
pop
1
First
Vigenere Cipher
chr
ord
zip
map
join