20
Sergei
Last seen 10 months ago
Member for 4 years, 10 months, 12 days
Difficulty Normal
Initiation
Compressed, with `min`
Nearest Value
3
12
1
Concise
All the Same
11
7
0
`list.index` and ValueError handling
Remove All Before
41
9
2
2 identic iterators and `zip`
Split Pairs
50
0
0
lstrip and len
Beginning Zeros
63
7
2
upper and rstrip(.)
Correct Sentence
70
8
1
With `min`
Nearest Value
92
5
0
re.findall, map and sum
Sum Numbers
119
5
0
Is it simple enough for you, Elena? Or is it too complicated again?
All Upper I
133
5
1
List comprehension
Split Pairs
194
3
0
rstrip
End Zeros
221
3
2
re.match
End Zeros
231
3
1
all, map, isalpha, isupper
All Upper I
400
1
0
sorted and [::-1]
Max Digit
475
1
0
An obvious way
All the Same
485
3
4
string.digits and filter
Count Digits
602
0
0
Simple slice
Backward String
757
0
0
Home
itertools.islice
Even the Last
7
12
1
Nested list
Sort Array by Element Frequency
9
4
0
Additional list, "in" check and slices
Non-unique Elements
12
8
3
Degrees per one minute
Sun Angle
20
4
2
str.index, exception handling and slice
Second Index
20
3
0
Simple str.find
Second Index
21
13
4
collections.Counter
Popular Words
36
1
0
sort and lambda
Bigger Price
48
9
0
text.find and if's
Between Markers
49
1
0
filter() and count()
Non-unique Elements
50
7
0
re.sub with callable repl
Backward Each Word
54
6
4
Finding the first index of the second list
Split List
76
6
2
According to hints and more concise
Non-unique Elements
87
4
0
Simple and concise with re.search
First Word
138
6
2
str.lstrip
First Word
200
5
0
According to hints
Non-unique Elements
204
2
0
ord(), chr() and if statements
Pawn Brotherhood
240
7
2
re.search and f-string
Second Index
242
4
0
Using datetime module
Date and Time Converter
243
2
2
map, split and join
Morse Decoder
252
2
2
lower, split and count
Popular Words
422
2
3
Electronic Station
re.match, more intricate patterns, no comparisons
All Upper II
6
4
1
Self-documenting with a dictionary and 'all' function, after asserts fixing
Acceptable Password VI
7
11
2
By sides proportion + itertools.combinations
Similar Triangles
39
5
1
Is it simple enough for you, Elena?
All Upper II
102
4
1
str.strip, string module and filter
All Upper II
158
2
0
Obvious loop
Ascending List
363
0
1
Scientific Expedition
re.search
Goes Right After
6
1
0
Simple with str.find, fixed
Goes Right After
10
15
0
Banal
Time Converter (24h to 12h)
14
4
0
Dense
Common Words
18
4
0
Loop
Bird Language
39
4
0
re.split
Conversion from CamelCase
67
6
2
Simple and sparse
Common Words
75
11
0
Regex
Bird Language
83
1
0
str.translate
Striped Words
98
5
2
filter() and join()
Secret Message
100
27
1
List comprehensions and zip
Cipher Map
193
2
2
'for' loop and type check as an index
Sum by Type
211
1
0
Simple with str.find
Goes Right After
307
0
5
collections.Counter and itertools.takewhile
The Most Wanted Letter
710
2
2
With a dictionary, max() and filter()
The Most Wanted Letter
6045
0
0
O'Reilly
list.count
Majority
3
33
2
itertools.starmap
Majority
5
11
0
Swapping letters towards the left
Determine the Order
23
5
1
While cycle and deque
Flatten a List
43
2
0
With itertools.groupby / by list comprehension
Chunk
63
3
0
Ternary conditional operator
Index Power
110
22
1
time.split and If statements
Time Converter (12h to 24h)
142
2
0
sorted, dropwhile, enumerate
Sort Except Zero
235
1
0
Incinerator
Version as dictionary
Text Editor
34
3
2
With a method for dealing damage and a method for taking and returning taken damage
The Vampires
69
2
0
collections.deque and while
Army Battles
80
3
0
With methods for dealing damage and taking damage
The Defenders
83
2
0
itertools.cycle and simplified State pattern
Multicolored Lamp
299
0
2
Mine
Line truncating
Cut Sentence
12
12
1
List comprehension, ord, modulo, chr
Caesar Cipher (encryptor)
63
6
0
Rotated collections.deque with string.ascii_lowercase and re.sub
Caesar Cipher (encryptor)
82
5
0
Simple and obvious
Binary Count
136
11
2
Inline 'if' statements
Fizz Buzz
149
2
0
Simple and sparse
Fizz Buzz
166
11
1
Ice Base
`for` loop and a boolean flag
Find Quotes
19
0
0
'while' loop and itertools.takewhile
Long Repeat
22
12
1
Chains as sets of circles
Count Chains
33
2
0
re.findall
Long Repeat
55
8
2
Recursion
Long Repeat
55
1
0
`re.findall` and `str.strip`
Find Quotes
62
5
0
Simple with str.replace and eval
Reverse Roman Numerals
68
4
0
functools.reduce
The Most Numbers
124
2
0
While loop
Feed Pigeons
287
2
0
Simple max and min
The Most Numbers
352
4
0
Searching for digits with their left (negative) parts
Reverse Roman Numerals
469
0
0
Dropbox
One-liner
Simple Hashlib
3
5
1
A dictionary as a function selector
Simple Hashlib
30
6
3
PyCon TW
Any and map
House Password
83
4
0
Storage
Obvious loops
Skew-symmetric Matrix
132
4
0
HubSpot
re.findall
Non Empty Lines
59
0
0
Recursive
Restricted Sum
112
9
0
Blizzard
`re.search` with pattern generation
Stressful Subject
7
4
0
With itertools.reduce
Weekend Counter
61
0
0
Filtering weekends
Weekend Counter
493
0
0
Rock
Obvious
Sort by Removing
7
7
1
Shelter
itertools.count and for loop
Ghosts Age
59
7
0
Codeship
With recomputing dictionary and Fraction
Probably Dice
64
3
0
Hermit
while and for loops
Count Consecutive Summers
17
9
1
Watchtower
Rotation generator
Rotate Hole
516
0
0