14
znatny_kulish
8 22
879/ 945
Last seen 7 years ago
Member for 7 years, 4 months, 23 days
Difficulty Normal
An economist who wants to code.

Missions (60) / Solutions (65)
Best solutions / Newest solutions
Home
datetime
Days Between
date
datetime.date
datetime
else
if
First
Pawn Brotherhood
break
or
print
elif
and
counting 1s in a list c
Three Words
break
print
elif
False
append
join
Right to Left
replace
print
join
First
Even the Last
print
range
else
len
for
count
Non-unique Elements
count
append
for
if
Electronic Station
First
Find Sequence
or
elif
False
True
range
"unspace" first
Verify Anagrams
lower
count
elif
False
True
First
Brackets
pop
index
or
while
in
string(number)
Digits Multiplication
int
str
for
if
Scientific Expedition
First
Morse Clock
math.log2
log2
math
print
join
rotation operator
Cipher Map
print
join
range
for
if
First
I Love Python!
First
Striped Words
isnumeric
upper
isalpha
isdigit
or
First
Bird Language
lower
while
in
elif
else
First
Common Words
remove
sorted
join
while
append
lambda
Absolute Sorting
abs
lambda
sorted
list
1
capitals
Secret Message
print
for
if
O'Reilly
double indices
Xs and Os Referee
count
elif
and
range
else
nothing special
Median
sorted
else
len
if
First
Index Power
None
print
range
else
len
Incinerator
First
Friends
class
set-comp
remove
count
if-comprehension
Mine
First (random choice)
Color Map
random.choice
choice
random
insert
index
"father" function
What Is Wrong With This Family?
print
while
elif
False
append
First
Binary Count
bin
count
Ice Base
First
Largest Rectangle in a Histogram
min
range
len
for
if
First
How to Find Friends
break
while
if-comprehension
elif
False
First
Roman Numerals
elif
else
if
append values to a new list
The Most Numbers
min
max
print
append
else
Alice In Wonderland
First (BFS)
The Shortest Knight's Path
index
not
while
if-comprehension
and
GitHub
First
Area of a Convex Polygon
round
range
len
for
First (via class)
Solution for Anything
class
pass
True
2-step: 1) remove dead-ends ("simplify"), 2) find the route
Open Labyrinth
dir
None
break
or
print
6
Dropbox
Second ("reversed")
The Longest Palindromic
reversed
join
range
len
for
x0, y0 might be <=0
Three Points Circle
float
round
tuple
map
abs
Second
Three Points Circle
float
round
tuple
map
abs
float formatting
Friendly Number
math.log
log
round
find
math
First. Very slow - WHY?
Numbers Factory
functools.reduce
reduce
functools
map
lambda
1
Second: efficient
Numbers Factory
break
sorted
join
while
append
5
First
The Longest Palindromic
while
range
len
for
if
PyCon TW
First
Express Delivery
break
not
count
or
print
First
Robot Sort
sorted
join
if-comprehension
elif
append
"around" function
Calculate Islands
clear
remove
not
sorted
while
countdown
Network Attack
while
and
range
len
for
Storage
First: brute force (slow)
Restricted Prime
sum
while
if-comprehension
and
append
First. one-liner
Word Pattern
isalpha
inline-if
join
list-comp
comprehension
HubSpot
using XOR (^)
The Hamming Distance
bin
count
convert to str and eval
Restricted Sum
eval
map
join
list
str
First
Number Base
print
and
range
else
int
Blizzard
First
Sudoku Solver
pop
not
count
sum
print
acos
The Angles of a Triangle
math.acos
acos
math.pi
pi
math
two fucking days!
Min and Max
get
None
print
sorted
elif
Rock
First: brute force
Crossword Solver
itemgetter
operator.itemgetter
operator
all
continue
20
Shelter
First
ADFGVX Cipher
isalnum
enumerate
index
lower
sorted
Second and clear
Ghosts Age
yield
inline-if
while
in
range
3
First
Ghosts Age
yield
or
print
sorted
while
Codeship
First
Unfair Dice
continue
sum
print
sorted
while
First (algorythm as in the article)
Probably Dice
insert
round
while
range
else
small-med-big
The Square Chest
remove
sorted
in
range
len
Hermit
First: BFS
Anagrams By Stacks
pop
index
sum
print
join
First
The Good Radix
index
max
list-comp
range
comprehension
1
Watchtower
First: generate and move template
Bacteria Colonies
all
min
abs
or
while
First
Rotate Hole
insert
functools.reduce
reduce
functools
pop
Second
Rotate Hole
insert
all
pop
while
append
Third (negative list indices)
Rotate Hole
all
if-comprehension
list-comp
range
comprehension