22
vnkvstnk
6 21 38
2713/ 2945
Ivan Tiunov
Last seen 1 year ago
Member for 5 years, 15 days
Difficulty Normal
Missions (131) / Solutions (114)
Best solutions / Newest solutions
Initiation
First
Count Digits
isdigit
if-comprehension
list-comp
comprehension
int
16
text.upper() == text
All Upper I
upper
bool
str
4
First
Beginning Zeros
startswith
while
int
str
1
First
Sum Numbers
isdigit
sum
if-comprehension
list-comp
split
count while
End Zeros
not
while
and
int
find
Between Markers (simplified)
find
str
try-except
Remove All Before
ValueError
index
typing.Iterable
Iterable
except
2
First
Number Length
while
int
1
Straightforward
Split Pairs
list-comp
range
comprehension
len
if
1
First
Replace First
pop
append
if
1
First
Max Digit
max
while
int
1
First
Backward String
str
1
Home
First
Split List
list
len
3
1
Using key=lambda
Sort Array by Element Frequency
index
lambda
count
sorted
11
Sorted + key=lambda
Bigger Price
lambda
sorted
True
list
int
19
1
Some f-strings
Date and Time Converter
calendar.month_name
month_name
calendar
f-string
inline-if
First
First Word
replace
split
str
3
Second
Between Markers
find
None
inline-if
in
str
First
Sun Angle
or
and
list-comp
split
comprehension
1
First
Morse Decoder
capitalize
join
list-comp
split
comprehension
First
Non-unique Elements
count
if-comprehension
list-comp
list
comprehension
3
First
Right to Left
replace
join
list-comp
comprehension
1
First
Between Markers
find
inline-if
in
str
len
First
Popular Words
fromkeys
dict
map
lower
in
1
First
Pawn Brotherhood
intersection
update
set-comp
chr
ord
1
datetime
Days Between
as
date
datetime.date
datetime
abs
re.findall()
Backward Each Word
findall
re.findall
r-string
re
join
1
First
Three Words
iter
isalpha
bool
False
True
1
Electronic Station
First
Acceptable Password V
map
isdigit
lower
sum
str
3
1
First
Acceptable Password VI
map
isdigit
set
lower
sum
6
1
First
Ascending List
all
zip
typing.Iterable
Iterable
bool
18
First
All Upper II
isupper
bool
str
First
Can You Pass?
yield
is
pop
None
while
2
First
Boolean Algebra
if
1
re
Unix Match. Part 1
fullmatch
re.fullmatch
re
replace
bool
First
Acceptable Password III
isnumeric
any
map
isdigit
bool
First
Acceptable Password IV
map
isdigit
bool
or
sum
First
Acceptable Password II
any
isdigit
bool
and
comprehension
1
sorted() == sorted()
Verify Anagrams
lower
lambda
sorted
if-comprehension
list-comp
1
First
Digits Multiplication
while
int
if
2
First
Surjection Strings
values
zip
bool
in
elif
1
No stack, no replace, no re!
Brackets
continue
not
while
if-comprehension
in
Scientific Expedition
First
Conversion into CamelCase
capitalize
join
list-comp
split
comprehension
7
Keep it simple
Time Converter (24h to 12h)
f-string
abs
inline-if
list-comp
split
18
1
Rotate function
Cipher Map
zip
map
enumerate
join
if-comprehension
1
First
Remove Accents
normalize
unicodedata.normalize
unicodedata
isspace
isalpha
issubset()
Striped Words
issubset
re.split
r-string
upper
re
2
First
Secret Message
isupper
join
if-comprehension
list-comp
comprehension
1
re.sub(..., repl=lambda)
Bird Language
re.compile
compile
re.sub
sub
f-string
First
I Love Python!
True
if
1
First
Common Words
sorted
join
if-comprehension
in
list-comp
2
Second
Absolute Sorting
tuple
abs
sorted
list
1
First
Pangram
ascii_lowercase
string.ascii_lowercase
as
string
any
First
Absolute Sorting
tuple
abs
sorted
list
1
O'Reilly
Checking permutations
Cipher Crossword
itertools.permutations
permutations
update
all
itertools
17
1
x, y, z in zip( els, els[1: ], els[2: ] )
Median of Three
zip
typing.Iterable
Iterable
typing
sorted
18
1
First
Xs and Os Referee
List
typing.List
zip
enumerate
typing
1
Straightforward approach
Compress List
typing.Iterable
Iterable
not
typing
append
1
First
Time Converter (12h to 24h)
endswith
f-string
inline-if
list-comp
split
Sorted + key=lambda
Frequency Sorting
lambda
count
sorted
zip( items, items[1:] + [float("inf")] )
Reverse Every Ascending
float
zip
continue
append
else
1
First
Chunk
typing.Iterable
Iterable
typing
list-comp
range
First
The Flat Dictionary
update
isinstance
f-string
values
any
Second
Majority
bool
sum
list
len
Straightforward iterative
How Deep
isinstance
any
tuple
while
if-comprehension
2
A recursive solution
Flatten a List
not
list-comp
comprehension
else
if
3
First
Count Inversions
enumerate
for
First
Replace Last
typing.Iterable
Iterable
typing
inline-if
list
Straightforward
Sort Except Zero
insert
enumerate
typing.Iterable
Iterable
typing
try-except
Remove All After
ValueError
index
typing.Iterable
Iterable
except
1
No imported modules
Median
float
List
typing.List
typing
sorted
1
Incinerator
First
Text Editor
class
inline-if
append
7
1
Second
Army Battles
class
property
super
decorator
while
8
First
The Warriors
class
property
super
decorator
while
16
4
First
The Vampires
class
property
super
decorator
max
First
The Defenders
class
property
super
decorator
while
1
First
Army Battles
class
property
super
decorator
any
First
Friends
class
frozenset
set-comp
add
remove
Mine
First
Cut Sentence
map
enumerate
break
sum
join
First
Fizz Buzz
not
or
elif
int
str
First
Moore Neighbourhood
itertools.product
product
itertools
in
and
First
Binary Count
bin
count
int
Ice Base
First
Feed Pigeons
while
elif
True
else
if
1
Regex
Long Repeat
re.compile
compile
r-string
re
max
1
Is it DFS?
How to Find Friends
add
set
or
if-comprehension
in
1
while find >= 0
Find Quotes
find
while
append
split
GitHub
First
Create Intervals
itertools.count
groupby
itertools.groupby
next
itertools
13
1
First
The Most Frequent Weekdays
calendar.day_name
day_name
calendar
datetime.timedelta
timedelta
First
The End of Other
endswith
any
set
False
True
Dropbox
Sorted + key=lambda
Worth of Words
lambda
sum
sorted
list-comp
comprehension
Checking between same letters
The Longest Palindromic
combinations
itertools.combinations
itertools
sort
enumerate
Checking only between identical letters
The Longest Palindromic
combinations
itertools.combinations
itertools
sort
enumerate
PyCon TW
First
Double Substring
break
while
in
and
range
HubSpot
First
The Hamming Distance
while
1
Simple recursion
Restricted Sum
len
if
Blizzard
First
Weekend Counter
datetime.timedelta
timedelta
datetime
while
20
First
Stressful Subject
groupby
itertools.groupby
endswith
any
itertools
First
Unlucky Days
calendar.weekday
weekday
calendar
sum
range
math
The Angles of a Triangle
math.degrees
degrees
math.acos
acos
all
Escher
First
Card Game
remove
sorted
in
elif
False
5
First
Compass, Map and Spyglass
enumerate
index
abs
max
in
7
Second
Graphical Key
itertools.product
product
yield
itertools
map
12
First
Wild Dogs
combinations
itertools.combinations
itertools
round
min
15
2
A simple solution
The Ship Teams
keys
items
sorted
if-comprehension
and
3
dfs-based
Graphical Key
itertools.product
product
yield
itertools
map
3
rotate - index
The Stone Wall
zip
index
max
lambda
count
1
First
Keys and Locks
zip
map
not
join
while
1
Calculate all winning and loosing positions
The Stones
any
min
inline-if
in
append
Straightforward approach
Hypercube
itertools.product
product
all
itertools
pop
A recursive solution
The Buttons
enumerate
not
sum
sorted
if-comprehension
Rotation + del
Ground for the House
zip
map
not
join
while
1
First
Treasures
f-string
keys
items
min
lambda
First
Safe Code
operator.sub
operator.add
mul
operator.mul
startswith
First
The Secret Room
f-string
dict-comp
items
index
max