30
bravebug
9 29 55 Leader of the month
4712/ 5195
Leonid Selivanov
Last seen 1 month ago
Member for 10 years, 12 days
Difficulty Normal
Missions (220) / Solutions (251)
Best solutions / Newest solutions
Initiation
Simple counter (bad solution)
Nearest Value
set
while
in
elif
True
4
8
First
Beginning Zeros
else
int
str
for
if
14
2
First
First Word (simplified)
split
str
4
Second
Count Digits
isdigit
sum
if-comprehension
list-comp
comprehension
1
First
Multiply (Intro)
First
All the Same
Any
typing.Any
List
typing.List
bool
2
First
Split Pairs
append
range
len
for
if
1
First
Replace First
pop
typing.Iterable
Iterable
typing
append
Third
Max Digit
max
list
comprehension
int
str
2
First
End Zeros
break
else
int
str
for
1
Second
Is Even
bool
not
int
First
Acceptable Password I
bool
str
len
2
Spliting
Between Markers (simplified)
split
str
3
Correct Sentence
Correct Sentence
islower
upper
str
if
2
First
Backward String
pop
join
while
append
list
3
First
All Upper I
upper
bool
False
True
str
2
First
The Most Frequent
collections.Counter
Counter
collections
list
str
First
Count Digits
isdigit
int
str
for
if
1
First
Is Even
bool
inline-if
False
True
int
1
First
Remove All Before
ValueError
index
typing.Iterable
Iterable
except
Second
Sum Numbers
isnumeric
sum
if-comprehension
list-comp
split
First
Number Length
int
str
len
2
4th
Max Digit
max
int
str
1
First
Sum Numbers
isnumeric
split
int
str
for
First
Easy Unpack
tuple
3
Second
Max Digit
sorted
True
int
str
1
Third
Sum Numbers
operator.add
operator
functools.reduce
reduce
functools
1
First
Max Digit
int
str
for
if
2
Home
datetime: strptime, strftime
Date and Time Converter
datetime.strptime
strptime
datetime.datetime
format
datetime
5
1
First
Popular Words
rstrip
dict
lstrip
replace
lower
8
3
Second Index
Second Index
None
count
split
else
int
11
2
First
Sort Array by Element Frequency
dict-comp
index
lambda
count
sorted
1
Between Markers
Between Markers
find
str
len
if
1
Three Words
Three Words
continue
isalpha
bool
False
True
2
Just join and replace
Right to Left
replace
join
Second
Sort Array by Element Frequency
index
lambda
count
sorted
True
1
First
Morse Decoder
upper
replace
split
else
for
Second
Second Index
ValueError
index
None
except
try
2
First
Days Between
date
datetime.date
datetime
abs
2
First
Split List
inline-if
list
int
len
1
First
Backward Each Word
join
append
split
str
for
First
Bigger Price
lambda
sorted
True
list
int
1
Second
Backward Each Word
join
split
range
str
len
1
First
Even the Last
inline-if
sum
2
First
Non-unique Elements
remove
set
count
for
if
Second
Popular Words
strip
dict
lower
count
split
1
First Word
First Word
lstrip
split
str
Sun Angle
Sun Angle
round
split
else
int
if
1
First
Pawn Brotherhood
index
set
or
in
int
Electronic Station
numpy
Find Sequence
numpy.rot90
rot90
numpy.array
array
numpy
7
First
Unix Match. Part 1
match
re.match
r-string
re
None
9
1
First
Sort by Extension
rsplit
List
typing.List
bool
typing
16
First
Words Order
ValueError
index
bool
except
try
17
1
First
Boolean Algebra
not
or
if
1
First
Verify Anagrams
replace
lower
sorted
join
False
First
Brackets
replace
while
in
False
True
First
Ascending List
typing.Iterable
Iterable
bool
typing
False
Second
Similar Triangles
combinations
itertools.combinations
Tuple
typing.Tuple
all
Second
Ascending List
typing.Iterable
Iterable
bool
set
typing
First
All Upper II
isupper
bool
False
True
else
First
Digits Multiplication
int
str
for
if
1
First
Similar Triangles
combinations
itertools.combinations
Tuple
typing.Tuple
itertools
recursion
Can You Pass?
continue
IndexError
except
try
False
Second
Unix Match. Part 1
rf-string
match
re.match
f-string
items
Second
Boolean Algebra
case
match-case
not
or
First
Surjection Strings
printable
string.printable
translate
string
bool
Scientific Expedition
First
YAML. Simple Dict
rsplit
strip
dict-comp
zip
isdigit
4
Second
YAML. Simple Dict
splitlines
isdigit
inline-if
split
int
8
1
First
Letter Queue
pop
join
in
and
append
9
2
First
YAML. More Types
splitlines
startswith
type
endswith
strip
11
First
Time Converter (24h to 12h)
abs
inline-if
split
int
str
15
First
Sum by Type
Tuple
typing.Tuple
type
typing
list
18
2
Second
Sum by Type
Tuple
typing.Tuple
type
typing
list
2
datetime
Time Converter (24h to 12h)
datetime.strptime
strptime
datetime.datetime
datetime
replace
2
First
Caps Lock
upper
enumerate
join
append
split
First
Follow Instructions
count
First
Call to Home
dict-comp
keys
inline-if
comprehension
int
1
Second
Remove Accents
normalize
unicodedata.normalize
unicodedata
for
1
First
Conversion from CamelCase
isupper
lower
and
for
if
sorted() and abs()
Absolute Sorting
tuple
abs
sorted
list
1
First
Conversion into CamelCase
endswith
upper
replace
not
or
First
Secret Message
isupper
str
for
if
1
First
I Love Python!
1
short and unreadable
Remove Accents
normalize
unicodedata.normalize
unicodedata
as
lambda
First
Striped Words
punctuation
string.punctuation
isnumeric
strip
string
First
Common Words
sorted
join
in
append
split
2
First
Goes Right After
index
bool
except
try
False
First
The Hidden Word
ljust
splitlines
Tuple
typing.Tuple
List
First
Pangram
ascii_lowercase
string.ascii_lowercase
string
isalpha
set
First
Morse Clock
zfill
format
bin
enumerate
replace
First
Bird Language
replace
not
join
in
and
Second
The Most Wanted Letter
dict-comp
islower
items
set
lower
2
Second
Secret Message
ascii_uppercase
string.ascii_uppercase
string
join
if-comprehension
lower islower ascii_lowercase
Pangram
difference
set-comp
ascii_lowercase
string.ascii_lowercase
string
First
Cipher Map
itertools.accumulate
accumulate
reversed
any
itertools
The Most Wanted Letter
The Most Wanted Letter
islower
items
lower
lambda
count
O'Reilly
First
Chunk
typing.Iterable
Iterable
break
not
typing
1
First
Frequency Sorting
lambda
count
sorted
First
Replace Last
insert
pop
typing.Iterable
Iterable
typing
Flatten a List
Flatten a List
type
insert
remove
while
else
First
Lightbulb Start Watching
Optional
typing.Optional
datetime.datetime
datetime
List
1
Second
Count Inversions
enumerate
sum
comprehension
First
Compress List
continue
typing.Iterable
Iterable
typing
and
First
How Deep
type
max
elif
list-comp
comprehension
1
First
Median of Three
typing.Iterable
Iterable
typing
sorted
append
First
Reverse Every Ascending
extend
None
range
len
for
First
Lightbulb Intro
datetime.datetime
datetime
List
typing.List
typing
First
Lightbulb End Watching
Optional
typing.Optional
datetime.datetime
datetime
List
First
Remove All After
index
typing.Iterable
Iterable
typing
in
sorted and pop
Sort Except Zero
pop
typing.Iterable
Iterable
typing
inline-if
First
Determine the Order
startswith
any
index
min
inline-if
First
The Flat Dictionary
type
dict
not
else
for
1
First
Time Converter (12h to 24h)
zfill
endswith
format
not
or
First
Index Power
list
else
int
len
if
1
Second
Remove All After
finally
index
typing.Iterable
Iterable
try
1
First
Count Inversions
range
len
for
if
First
Majority
bool
sum
list
len
1
Second
Xs and Os Referee
chain
itertools.chain
reversed
itertools
List
First
Xs and Os Referee
extend
List
typing.List
typing
and
First
Median
float
List
typing.List
typing
sorted
Incinerator
First
The Warriors
class
while
and
True
if
2
4
inheritance
Army Units
globals
class
title
decorator
f-string
12
First
Hacker Language
class
chr
bin
ord
replace
19
1
First
Microwave Ovens
class
zfill
endswith
format
inline-if
First
3 Chefs
class
f-string
First
Geometry Figures
class
math.pi
pi
math.sqrt
sqrt
First
Army Battles
class
pop
bool
while
and
1
First
Party Invitations
class
format
remove
append
for
2
not clear not DRY just for questpoints
Dialogues
class
format
inline-if
print
in
First
Friends
class
remove
set
in
False
1
First
Every Person is Unique
class
datetime.strptime
strptime
datetime.datetime
get
First
The Defenders
class
pop
bool
inline-if
while
First
Capital City
class
super
type
if
First
Multicolored Lamp
cycle
itertools.cycle
class
next
itertools
First
Voice TV Control
class
type
index
inline-if
print
1
First
The Vampires
class
isinstance
pop
bool
inline-if
1
First
Building Base
class
format
1
First
Text Editor
class
f-string
append
str
Mine
ascii_lowercase/maketrans/translate
Caesar Cipher (decryptor)
translate
ascii_lowercase
string.ascii_lowercase
string
islower
12
First
Chess Knight
itertools.product
product
f-string
itertools
index
20
Best Stock
Best Stock
keys
for
if
1
First
Achilles and the Tortoise
1
First
Can Balance
itertools.permutations
permutations
set-comp
itertools
typing.Iterable
2
First
Caesar Cipher (encryptor)
translate
str
For any number of numbers with sorted()
The Greatest Common Divisor
set
sorted
while
range
list
First
Bigger Together
min
max
lambda
sorted
join
First
Currency Style
punctuation
string.punctuation
startswith
filter
f-string
First
Moore Neighbourhood
sum
if-comprehension
list-comp
range
comprehension
First
Binary Count
bin
count
int
1
First
Cut Sentence
lstrip
break
split
len
for
4
divmod
Fizz Buzz
divmod
not
elif
else
int
3
First
Fizz Buzz
not
elif
else
int
str
1
Ice Base
First (incorrect)
Count Chains
Tuple
typing.Tuple
List
typing.List
pop
2
First
Monkey Typing
set
lower
in
int
str
First
Largest Rectangle in a Histogram
min
max
append
range
len
2
First
Long Repeat
max
inline-if
append
range
else
1
The Most Numbers
The Most Numbers
sorted
else
len
if
1
Second
Morse Encoder
get
lower
join
comprehension
1
First
Morse Encoder
strip
lower
else
for
if
simple
Count Chains
reversed
tuple
enumerate
pop
while
1
First
Find Quotes
continue
and
append
for
if
First
Oil Pie
math.gcd
gcd
math
map
abs
2
One while and some min()
Feed Pigeons
min
while
First
Clock Angle
abs
inline-if
split
int
First
Reverse Roman Numerals
pop
while
list
else
len
First
How to Find Friends
set
while
in
list-comp
split
First
Roman Numerals
elif
range
int
str
len
1
Second
The Most Numbers
min
max
inline-if
Alice In Wonderland
First
Swap Nodes
extend
zip
append
len
for
First
The Fastest Horse
index
min
set
max
count
First
Multiplication Table
bin
sum
join
list-comp
comprehension
1
First
Middle Characters
inline-if
int
len
recursion
Tree Walker
isinstance
values
dict
list
else
First
Long Non Repeat
break
max
inline-if
join
in
First
Transposed Matrix
List
typing.List
typing
append
range
1
First
Zigzag Array
reverse
List
typing.List
typing
append
First
IP Network: Route Summarization
ljust
startswith
zfill
f-string
bin
First
When is Friday?
datetime.strptime
strptime
datetime.datetime
datetime
First
Digits Doublets
remove
zip
min
break
elif
GitHub
First
Cookies
strip
dict-comp
get
list-comp
split
13
1
First
Long Repeat Inside
continue
break
in
append
range
19
First
Expand Intervals
typing.Iterable
Iterable
typing
append
range
1
First
The Highest Building
break
range
else
len
for
2
First
Simplify Unix Path
clear
rstrip
enumerate
None
break
First
Barcode Reader
reversed
ValueError
index
None
replace
Simple cycles and endswith
The End of Other
endswith
False
and
True
for
First
Evenly Spaced Trees
math.gcd
gcd
functools.reduce
reduce
functools
First
The Most Frequent Weekdays
datetime.timedelta
timedelta
date
datetime.date
datetime
First
Broken Clock
datetime.strptime
strptime
datetime.timedelta
timedelta
datetime.datetime
First
Merge Intervals
tuple
IndexError
None
break
except
First
Create Intervals
continue
None
abs
set
sorted
1
First
Solution for Anything
class
True
Recursion
Open Labyrinth
List
typing.List
zip
typing
False
Dropbox
First
Simple Hashlib
__dict__
hashlib.__dict__
hashlib
1
First
Worth of Words
items
lambda
print
sorted
True
First
Numbers Factory
inline-if
sorted
join
while
False
1
First
The Longest Palindromic
break
sorted
append
True
range
1
Second
Worth of Words
dict-comp
max
lambda
sum
comprehension
First
Speech Module
strip
print
elif
int
str
PyCon TW
First
Double Substring
count
range
int
len
for
4
1
First
Sum Consecutives
None
append
else
for
if
First
Simple Areas
KeyError
raise
math.pi
pi
math.sqrt
3
Recursion
Golden Pyramid
max
else
len
if
1
First
Digit Stack
startswith
pop
elif
append
split
1
match-case
Digit Stack
case
match-case
continue
IndexError
pop
Second (Boolean)
House Password
upper
break
isdigit
bool
lower
2
"House Password"
House Password
islower
isupper
isdigit
bool
False
Storage
First
Skew-symmetric Matrix
continue
False
True
range
else
1
First
Restricted Prime
pow
not
while
False
True
First
Group Equal consecutive
append
else
for
if
1
Second
Restricted Prime
pow
all
enumerate
lambda
True
First
Saw the Stick
itertools.count
clear
reversed
yield
insert
3
HubSpot
First
New Cities
set
and
len
for
if
2
4
The index dictionary
Triangular Islands
typing.Set
Set
get
any
remove
14
2
First
Node Disconnected Users
copy
remove
inline-if
sum
if-comprehension
17
Second
New Cities
difference
union
set
and
len
First
Weekly Calendar
datetime.timedelta
timedelta
date
datetime.date
datetime
Second
Non Empty Lines
isspace
splitlines
bool
not
sum
First
Non Empty Lines
isspace
not
inline-if
sum
and
First
City's Happiness
copy
keys
remove
sort
set
Second
City's Happiness
difference
intersection
copy
remove
sort
First
Number Base
ValueError
except
try
int
str
1
First
The Hamming Distance
bin
count
5
First
Restricted Sum
eval
strip
replace
str
1
Blizzard
First
Weekend Counter
sum
12
First
Rectangles Union
Tuple
typing.Tuple
List
typing.List
set
16
2
First
Connect Stars
Tuple
typing.Tuple
List
typing.List
sort
First
Stair Steps
copy
IndexError
pop
except
try
1
datetime
Unlucky Days
date
datetime.date
datetime
if-comprehension
list-comp
First
The First Working Day
datetime.timedelta
timedelta
as
date
datetime.date
Second
The First Working Day
datetime.fromisoformat
fromisoformat
datetime.timedelta
timedelta
as
First
Stressful Subject
endswith
any
isupper
isalpha
lower
3
math: acos, degrees
The Angles of a Triangle
math.degrees
degrees
math.acos
acos
round
1
First
Min and Max
get
None
sorted
False
True
Rock
First
Home Coming
List
typing.List
set
typing
count
1
2
binary search
Super Root
break
while
elif
True
else
20
1
Real removing :)
Sort by Removing
break
while
elif
True
list
2
First
CheckSum
ascii_letters
string.ascii_letters
digits
string.digits
string
First
Parity Bit Generator
chr
bin
count
int
for
2
Shelter
First
The Nearest Square Number
while
True
for
if
1
First
ADFGVX Cipher
collections.fromkeys
OrderedDict
collections.OrderedDict
fromkeys
itertools.zip_longest
First
Ghosts Age
break
while
in
append
True
Codeship
First
Probably Dice
dict-comp
keys
round
continue
not
Recursion
Pearls in the Box
float
round
count
inline-if
int
Hermit
First
The Good Radix
digits
string.digits
ascii_uppercase
string.ascii_uppercase
string
12
most simple
Backspace Apply
else
str
for
if
First
Stock Profit
reversed
enumerate
list
int
for
cleaning func
Unique Email Addresses
set-comp
f-string
replace
lower
split
Not On Map
First
Most Wanted Letter
collections.Counter
Counter
values
items
collections
11
First
Aggregate and Count
collections.Counter
Counter
dict
collections
list