32
Nocturne13
11 34 49
5830/ 6195
Artur Alexandrov
Last seen 9 days ago
Member for 1 year, 6 months, 3 days
Difficulty Easy
Missions (375) / Solutions (161)
Best solutions / Newest solutions
Strings and Integers
Truncate solution
Count Divisibles in Range (simplified)
math.trunc
trunc
math
print
int
1
1
Regex
Count Vowels
IGNORECASE
re.IGNORECASE
findall
re.findall
r-string
2
2
Second
Reverse Integer
rstrip
reversed
lstrip
inline-if
print
2
Second
The Longest Word
cmp_to_key
functools.cmp_to_key
functools
print
sorted
2
First
Maximum Among Three
max
print
int
3
Third
Quadratic Equation Roots
Symbol
sympy.Symbol
sympy.solve
solve
sympy
3
Fixed re solution
Replace All Occurrences
escape
re.escape
re.sub
sub
re
8
First
Convert To Title Case
title
print
str
15
F-string
Just Fizz!
f-string
print
else
int
str
16
2
Second
Sum of Integers
print
range
int
for
17
Third
Maximum Among Three
StopIteration
raise
iter
next
is
17
Third
Leap Year Checking
calendar.isleap
isleap
calendar
bool
print
18
First
All Permutations
collections.abc.Iterable
itertools.permutations
permutations
itertools
collections
20
First
Find Remainder
divmod
print
int
3
Second
Armstrong Number Checking
bool
print
False
True
int
Re.sub solution
Replace All Occurrences
re.sub
sub
re
print
str
2
Second
Perfect Number Checking
round
bool
not
sum
print
First
Fuzzy String Matching
zip
abs
bool
sum
print
Second
Convert Date
finally
datetime.datetime
date
datetime.date
ValueError
partial
Multiply (Intro)
functools.partial
partial
functools
print
Second
Count Substring Occurrences
rf-string
re.I
I
findall
re.findall
while solution
Excel Column Number
upper
index
print
while
int
Divmod solution
Is Even
divmod
bool
print
False
True
1
Third
Number Length
issubclass
callable
object
print
and
List but not the least
Sorted + Enumerate
Missing Number
enumerate
print
sorted
list
int
6
2
The more elifs, the better)))
Changing direction
pass
IndexError
enumerate
except
try
while + enumerate
Zigzag Array
sort
enumerate
print
while
append
Third
Remove All Before
dropwhile
itertools.dropwhile
heapify
heapq.heapify
heapq
Don't solve like this:)
Reverse Every Ascending
collections.abc.Iterable
isinstance
insert
collections
IndexError
Divide and conquer!
Sort by Extension
rindex
extend
map
sort
lambda
Divide and unite!
Sort Except Zero
collections.abc.Iterable
insert
collections
sort
enumerate
Third
Absolute Sorting
array.array
array
as
abs
print
Look up in the Dict()
DRY principle is completely broken(:
The Cheapest Flight
sort
lambda
print
in
elif
15
Regex + elifs
Aggregate by Operation
copy
findall
re.findall
get
dict
16
First
Switch Keys to Values
update
add
dict
items
print
1
First
YAML. More Types
startswith
update
endswith
filter
strip
Just a solution
YAML. Simple Dict
update
filter
strip
dict
items
Just logic
Pawn Brotherhood
ascii_lowercase
string.ascii_lowercase
string
index
set
1
Comparing lists
Verify Anagrams
replace
bool
lower
print
sorted
Strings Theory
Sorting + index hell solution
Schedule Mode Builder
datetime.strptime
strptime
copy
insert
filter
1
Second
Revorse the vewels
re.I
I
reversed
findall
re.findall
1
Some useful modules
Working Hours Calculator
busday_count
numpy.busday_count
combine
datetime.combine
datetime.min
2
1
Second
Tricky String
filter
sort
enumerate
replace
lambda
2
RegEx solution
Is String a Number? (Part II)
findall
re.findall
r-string
re
bool
4
Simple regex + for loops
Reveal the Number
re.compile
compile
endswith
is
findall
6
Second
Chemical Analysis
punctuation
string.punctuation
digits
string.digits
ascii_uppercase
6
DRY principle is completely broken))
Currency Style
re.split
re.compile
compile
is
re.search
7
2
Long solution
Long Pressed
groupby
itertools.groupby
re.sub
sub
r-string
13
nested loop
Adjacent Letters
enumerate
break
lower
print
join
14
Second
One Switch Strings
OrderedDict
collections.OrderedDict
fromkeys
keys
pass
19
Useful methods
Correct Capital
istitle
islower
isupper
bool
or
1
As simple as possible solution
Is String a Number?
isdigit
bool
print
False
True
Recursive solution
Sum of Digits
print
list
int
str
len
The more lines, the better))
Caps Lock
Enum
enum.Enum
enum
rindex
istitle
Difference from nearest integer solution
The Nearest Square Number
math.floor
floor
math.ceil
ceil
math.sqrt
Double enumerate + max() function
Long Non Repeat
enumerate
break
max
print
in
Split and conquer
Sun Angle
typing.Union
Union
float
typing
or
1
Second
Morse Decoder
rstrip
capitalize
enumerate
print
join
Second
Morse Encoder
rstrip
f-string
lower
print
split
Regex solution
Stressful Subject
IGNORECASE
re.IGNORECASE
re.split
re.sub
sub
Set intersection solution
Common Words
intersection
sort
set
print
join
Inline IF
All Upper II
isupper
bool
inline-if
print
False
Second
Letter Queue
clear
List
typing.List
pop
typing
The more elifs, the better))
Between Markers
find
print
elif
and
str
Sets solution
Pangram
issuperset
set-comp
chr
isalpha
bool
Simple loop
Second Index
is
enumerate
None
print
elif
1
Stack Brackets Solution
Brackets
IndexError
pop
bool
except
try
Translate solution
Striped Words
translate
groupby
itertools.groupby
re.split
re.sub
Lots of elifs
Speech Module
print
elif
and
int
str
Regex + set
House Password
match
re.match
r-string
re
bool
List, list and list again
Eval solution
Postfix Evaluation
ZeroDivisionError
typing.Union
Union
eval
isinstance
3
Second
Combining Celebrity Names
is
continue
enumerate
index
None
3
Nested enumerate
Replace with Biggest
IndexError
enumerate
typing.Iterable
Iterable
except
5
The more lines, the better))
Nonogram Encode
clear
set-comp
copy
insert
zip
7
Counter from collections
When "k" is Enough!
update
Any
typing.Any
collections.Counter
Counter
14
Second
Beat The Previous
dropwhile
itertools.dropwhile
itertools
pop
lambda
Simple for loop
Not in Order
enumerate
print
sorted
list
int
While solution
The Highest Building
IndexError
index
except
try
max
First
Convert and Aggregate
copy
dict
tuple
pop
not
isinstance > type))
Sum by Type
isinstance
functools.reduce
reduce
functools
tuple
Arrays slicing
Split List
math.ceil
ceil
Any
typing.Any
math
Solution with range function
Split Pairs
typing.Iterable
Iterable
typing
print
append
DRY principle is broken
Loading Cargo
combinations
itertools.combinations
itertools
min
abs
Enumerate solution
Count Inversions
functools.reduce
reduce
functools
enumerate
lambda
There are can't be too many append methods))
Xs and Os Referee
typing.count
List
typing.List
typing
count
Different kind of sets
sort and slice
Shorter Set
set
print
sorted
int
len
1
Chain comprehension solution
Expand Intervals
chain
itertools.chain
itertools
typing.Iterable
Iterable
First
Merge Intervals
collections.namedtuple
namedtuple
collections
max
not
Enumerate solution
Create Intervals
clear
enumerate
None
sorted
elif
The solution is already in the description
The End of Other
endswith
False
and
True
for
1
simple loop solution
Nearest Value
is
min
None
abs
set
Mine
The more elifs, the better))
Common Tail
ZeroDivisionError
raise
reversed
continue
enumerate
4
3
Third
Checking Perfect Power
perfect_power
sympy.perfect_power
sympy
as
bool
4
Simple if/else
Interesting, intersecting
tuple
bool
or
print
False
8
1
The more elifs, the better))
Unix Match. Part 1
startswith
reversed
endswith
all
enumerate
Second
Unix Match. Part 2
fullmatch
re.fullmatch
re
replace
bool
Third
Simple Areas
math.pi
pi
math.sqrt
sqrt
round
Ice Base
Utility function solution
15-puzzle Solvability
copy
insert
remove
enumerate
index
1
First
Peaceable Queens
math.floor
floor
round
math
print
1
Special math method
The Greatest Common Divisor
math.gcd
gcd
math
int
8
1
Numpy import
Weak Point
numpy.array
array
numpy
as
sort
The more elifs, the better))
Three Points Circle
rf-string
dist
math.dist
Decimal
decimal.Decimal
Numpy solution
Transposed Matrix
numpy.transpose
transpose
numpy.array
array
numpy
Useful math method
Similar Triangles
dist
math.dist
Tuple
typing.Tuple
List
1
Ramanujan's number
The Best Number Ever
1
Numpy import
Skew-symmetric Matrix
numpy.array
array
numpy
as
any
Takewhile itertools
Largest Rectangle in a Histogram
itertools.takewhile
takewhile
reverse
itertools
zip
math module for the rescue
Counting Tiles
dist
math.dist
math.floor
floor
math.ceil
Moria is dark and dangerous
Moria Doors
re.sub
sub
collections.Counter
Counter
strip
The more lines, the better))
The Hidden Word
itertools.zip_longest
zip_longest
re.search
search
itertools
Veni Vidi Vici
Caesar Cipher (encryptor)
index
join
elif
append
list-comp
Min\max
The Most Numbers
round
min
max
inline-if
len
simple if/else
Digit Stack
startswith
continue
pop
elif
and
The Game is Worth it!
DRY principle is completely broken
Checkers Capture
itertools.repeat
repeat
copy
itertools
tuple
1
Deque solution
Rolling 🎲!
collections.deque
deque
collections
print
elif
5
Recursive solution
The Final Stone
remove
abs
max
print
elif
GitHub
Some itertools methods + special case
Numbers Factory
itertools.product
product
combinations
itertools.combinations
ValueError
Tripple for loop))
How to Find Friends
popitem
isdisjoint
KeyError
setdefault
values
Not an essay, just a couple of words.
I Love Python!
Third
Number Base
ValueError
except
try
int
str
1
Isupper useful method
Secret Message
pass
isupper
else
str
for
Second
Binary Count
bin
count
int
Yield solution
Ghosts Age
next
yield
abs
break
elif
First
The Angles of a Triangle
ZeroDivisionError
TypeError
math.degrees
degrees
math.acos
Format
The Hamming Distance
format
enumerate
elif
len
for
Eval solution
Restricted Sum
eval
Regex solution
Monkey Typing
rf-string
IGNORECASE
re.IGNORECASE
f-string
re.search
The more elifs, the better))
Roman Numerals
replace
in
elif
and
else
Dropbox
Second
Determinant
numpy.linalg
linalg
numpy.array
array
numpy
Second
How Much Gold
Fraction
fractions.Fraction
fractions
keys
in
Just math
Achilles and the Tortoise
round
Just math
Clock Angle
datetime.strptime
strptime
datetime.datetime
round
datetime
Master of the Time Stone
Groupby method
Group Equal consecutive
groupby
itertools.groupby
itertools
append
list-comp
Second
When is Friday?
datetime.datetime
datetime
inline-if
print
int
1
First
Days Between
date
datetime.date
tuple
datetime
abs
Second
Unlucky Days
calendar.weekday
weekday
calendar
sum
range
HubSpot
Second
Oil Pie
Fraction
fractions.Fraction
fractions
enumerate
abs
Blizzard
Third
Word Pattern
union
add
bin
enumerate
isalpha
Special Library
Simple Hashlib
hashlib.new
new
hashlib
update
Simple loop
Worth of Words
index
max
append
for
Rock
Second
Caesar Cipher (decryptor)
rstrip
re.sub
sub
ascii_lowercase
string.ascii_lowercase
While + for
Greedy Number
enumerate
index
print
while
and
Itertools useful method
Sort by Removing
compress
itertools.compress
itertools
enumerate
append
Groupby
Sum Consecutives
groupby
itertools.groupby
itertools
sum
append
Third
Find Quotes
clear
enumerate
append
len
for
Shelter
simple loop
Atbash Cipher
ascii_letters
string.ascii_letters
string
islower
isupper
16
1
Fraction module
Fractions Addition
math.modf
modf
rf-string
contextlib.suppress
suppress
Divide and conquer
Swap Nodes
reverse
list-comp
range
comprehension
len
Codeship
Playing with index
Backspace Apply
compress
itertools.compress
reversed
itertools
enumerate
2
Second
Cookies
re.split
re
break
split
else
most_common solution
The Fastest Horse
collections.Counter
Counter
collections
index
min
Hermit
The more lines, the better))
Write Quadratic Equation
rf-string
startswith
f-string
remove
lstrip
1
1
the more elifs, the better))
Ryerson Letter Grade
print
elif
list-comp
comprehension
int
Escher
Third
Keys and Locks
splitlines
reversed
filter
zip
enumerate
11
Second
Wild Dogs
combinations
itertools.combinations
collections.Counter
Counter
keys
18
The more elifs, the better))
Compass, Map and Spyglass
math.trunc
trunc
dist
math.dist
numpy.where
Second
The Stone Wall
collections.Counter
Counter
collections
sort
enumerate
Second
Ground for the House
clear
splitlines
strip
zip
enumerate
First
Safe Code
startswith
eval
continue
replace
or
Second
The Secret Room
strip
index
max
lambda
sorted
Second
The Ship Teams
items
sort
append
else
for