17
sergray
4 12 34
1484/ 1695
Awesome Team Sergey Panfilov
Last seen 5 months ago
Member for 10 years, 10 months, 8 days
Difficulty Normal
Missions (130) / Solutions (100)
Best solutions / Newest solutions
Initiation
One line is all we need
All Upper I
all
isupper
isalpha
bool
print
First
Easy Unpack
tuple
Max over generator expression
Max Digit
max
print
comprehension
int
str
Set length
All the Same
Any
typing.Any
List
typing.List
bool
Slice the lists
Replace First
collections.abc.Iterable
collections
Iterable
print
list
First
Correct Sentence
endswith
upper
inline-if
str
Just find where the border is
Remove All Before
collections.abc.Iterable
ValueError
collections
index
Iterable
1
Range with list comprehension
Split Pairs
typing.Iterable
Iterable
typing
print
and
Loop over digits in number string
End Zeros
break
print
else
int
str
Just a for loop from the start
Beginning Zeros
break
print
else
int
str
1
Try to convert words to numbers
Sum Numbers
ValueError
continue
except
try
print
Home
Sorting with lookup dictionaries
Sort Array by Element Frequency
get
enumerate
lambda
sorted
True
Sorting with lookup
Sort Array by Element Frequency
get
enumerate
lambda
sorted
True
Sequential solution
Changing direction
is
None
inline-if
print
elif
First
Missing Number
print
sorted
range
list
int
Proportion of the total minutes to the angle
Sun Angle
map
or
split
int
if
First
Between Markers
ValueError
index
except
try
str
Sort and slice
Bigger Price
lambda
sorted
True
list
int
First
Date and Time Converter
f-string
map
inline-if
print
split
Using 2 string.index calls
Second Index
ValueError
index
None
except
try
Find word indexes with simple loop
First Word
is
enumerate
isalpha
None
break
First
Split List
Any
typing.Any
typing.Iterable
Iterable
typing
Generators all the way
Morse Decoder
capitalize
lambda
print
join
split
Sum up all covered pawns
Pawn Brotherhood
chr
ord
bool
set
or
Electronic Station
Brute Force Search
Find Sequence
any
zip
break
False
True
First
Brackets
dict
items
enumerate
pop
not
First
Verify Anagrams
get
continue
isalpha
not
lower
Scientific Expedition
Split/unsplit
Replace All Occurrences
print
join
str
2
Retracting Caterpillar
Longest Substring of Unique Characters
add
continue
set
max
print
16
find walrus
Count Substring Occurrences
find
lower
print
while
int
16
First
Fuzzy String Matching
enumerate
bool
inline-if
sum
print
17
capitalize split
Conversion into CamelCase
capitalize
map
print
join
split
18
Looping over
The Hidden Word
ValueError
pass
continue
index
None
19
2
Count vowels with generator expression
Count Vowels
set
lower
sum
print
if-comprehension
3
i and j
Beat The Previous
continue
not
print
while
and
Lambda with generator expression
Convert To Title Case
upper
lower
lambda
print
join
Capitalize in generator expression
Convert To Title Case
capitalize
print
join
split
comprehension
First
Convert and Aggregate
setdefault
dict
tuple
continue
not
Just use max str
Latest ISO datetime
max
print
str
Conditional hours
Time Converter (24h to 12h)
format
elif
split
int
if
match boolean, null and int
YAML. More Types
case
match-case
TypeError
splitlines
startswith
First
Sum by Type
isinstance
tuple
print
list
else
First
Striped Words
KeyError
re.split
all
dict
upper
for loop
YAML. Simple Dict
TypeError
splitlines
strip
ValueError
dict
Split a
Caps Lock
upper
enumerate
inline-if
print
join
While loop filter
Bird Language
isalpha
set
join
while
in
Complex fun
Follow Instructions
complex
get
tuple
print
list
boring loop
Conversion from CamelCase
isupper
lower
print
join
append
deque with match
Letter Queue
case
match-case
collections.deque
deque
collections
Second
Bird Language
isalpha
set
join
while
in
First
Pangram
isalpha
bool
set
lower
print
Short
The Most Wanted Letter
collections.Counter
Counter
items
collections
sort
O'Reilly
Helper in-line function with loops and list comprehensions
Xs and Os Referee
zip
enumerate
bool
set
and
First
Xs and Os Referee
zip
enumerate
set
lambda
and
Recursive solution
Flatten a List
isinstance
extend
append
list
else
First
Loading Cargo
itertools.product
product
itertools
index
None
First
Median
sort
sum
else
len
if
Exceptional :)
Index Power
IndexError
except
try
Incinerator
Warrior Behind
The Lancers
class
property
super
decorator
f-string
Not sure about SRP here...
The Healers
class
property
super
decorator
f-string
First
3 Chefs
class
f-string
First
The Defenders
class
property
decorator
pop
bool
First
Army Battles
class
property
decorator
pop
bool
First
The Warriors
class
property
decorator
bool
while
First
Building Base
class
f-string
Mine
Recursive Determinant
Determinant
enumerate
sum
if-comprehension
elif
list-comp
First
Disposable Teleports
collections.defaultdict
defaultdict
collections
continue
pop
One-liner sum of binary 1s from generator expression
Binary Count
bin
sum
if-comprehension
comprehension
Fizz Buzz
Fizz Buzz
or
join
append
str
if
Ice Base
First
Write Quadratic Equation
extend
f-string
abs
inline-if
print
count diffs
One Switch Strings
tuple
zip
bool
or
print
list comprehension filtering and list concatenation
Move Zeros
typing.Iterable
Iterable
typing
print
if-comprehension
str.isnumeric
Is String a Number?
isnumeric
bool
print
False
True
First
Feed Pigeons
extend
break
sum
while
if-comprehension
re is all we need
Find Quotes
re.compile
compile
re
Single iteration with O(N)
Long Repeat
is
continue
None
max
else
First
Roman Numerals
extend
zip
join
for
if
Alice In Wonderland
Straightforward without imports
Multiplication Table
bin
lstrip
lambda
join
list-comp
First
Transposed Matrix
zip
map
list
GitHub
First
The Highest Building
enumerate
print
list
int
len
Reverse and sort
The End of Other
startswith
sorted
False
True
range
Dropbox
For word in words
The Longest Word
print
split
str
len
for
20
First
Humpty Dumpty Form
math.atanh
atanh
math.asin
asin
math.pi
zip reverse
Common Tail
zip
None
break
print
list
First
Numbers Factory
map
pop
min
not
inline-if
All that forgotten linear algebra
Three Points Circle
math.pow
rstrip
pow
math.sqrt
sqrt
First
Speech Module
divmod
not
join
elif
and
PyCon TW
Three checks in one loop over all symbols
House Password
isnumeric
values
islower
all
isupper
Verbose Password Check
House Password
islower
continue
isupper
break
isdigit
Abstract Checks
House Password
isnumeric
values
islower
all
isupper
Storage
Slide over precomputed triangular numbers
Saw the Stick
not
while
False
and
list-comp
1
One-line functional generator expression
Skew-symmetric Matrix
all
range
comprehension
len
HubSpot
First
The Hamming Distance
bin
zip
sum
if-comprehension
elif
Recursive Sum
Restricted Sum
elif
else
len
if
Blizzard
First
Weekend Counter
datetime.timedelta
timedelta
datetime
min
max
First
The Angles of a Triangle
math.degrees
degrees
math.acos
acos
ValueError
Codeship
Recursive simulation with doctests
Pearls in the Box
copy
collections.Counter
Counter
values
round
Hermit
Countdown bruteforce
Count Consecutive Summers
while
and
if
Watchtower
First
Numbered Triangles
itertools.permutations
permutations
itertools
enumerate
max
Straightforward solution
Rotate Hole
all
append
range
comprehension
len