31
PythonLearner
11 30 43
5562/ 5695
Last seen 1 day ago
Member for 8 years, 4 months, 9 days
Difficulty Normal
Missions (299) / Solutions (240)
Best solutions / Newest solutions
Initiation
First
Number Length
int
str
len
1
21
First
Max Digit
max
int
str
First
Nearest Value
dict-comp
min
abs
set
if-comprehension
First
Replace First
islice
itertools.islice
chain
itertools.chain
itertools
2
First
First Word (simplified)
split
str
First
Is Even
bool
int
First
The Most Frequent
collections.Counter
Counter
collections
list
str
1
First
Remove All Before
ValueError
index
typing.Iterable
Iterable
except
1
First
Split Pairs
itertools.zip_longest
zip_longest
itertools
map
typing.Iterable
First
Count Digits
isdigit
sum
comprehension
int
str
First
Beginning Zeros
itertools.takewhile
takewhile
itertools
lambda
list
First
Acceptable Password I
typing.Callable
Callable
functools.partial
partial
functools
First
Backward String
str
First
Between Markers (simplified)
escape
re.escape
findall
re.findall
f-string
First
End Zeros
divmod
while
and
else
int
First
Sum Numbers
filter
map
isdigit
sum
split
Home
First
Bigger Price
lambda
sorted
True
list
int
6
1
First
Missing Number
min
max
sum
print
list
13
First
Changing direction
zip
inline-if
sum
print
if-comprehension
20
First
Date and Time Converter
re.split
f-string
map
re
inline-if
1
First
Duplicate Zeros
print
append
list
for
if
First
Split List
divmod
List
typing.List
typing
sum
1
First
Morse Decoder
get
upper
map
join
split
First
Backward Each Word
isspace
yield
enumerate
typing.Iterable
Iterable
First
Sun Angle
round
map
split
int
if
First
Three Words
isalpha
False
True
split
else
1
First
Sort Array by Element Frequency
cmp_to_key
functools.cmp_to_key
functools
enumerate
typing.Iterable
1
Second
Sort Array by Element Frequency
collections.Counter
Counter
get
collections
typing.Iterable
First
Between Markers
find
inline-if
str
len
First
Popular Words
dict-comp
dict
lower
count
split
1
First
Pawn Brotherhood
add
set
or
sorted
in
1
First
Second Index
find
None
inline-if
int
str
First
Right to Left
replace
join
comprehension
Electronic Station
First
Unix Match. Part 1
escape
re.escape
re.search
search
get
1
First
Can You Pass?
filter
any
add
set
if-comprehension
1
First
All Upper II
isupper
bool
str
1
First
Acceptable Password III
typing.Callable
Callable
functools.partial
partial
functools
First
Similar Triangles
Fraction
fractions.Fraction
fractions
Tuple
typing.Tuple
First
Acceptable Password V
typing.Callable
Callable
functools.partial
partial
functools
1
First
Find Sequence
chain
itertools.chain
itertools.product
product
filter
First
Acceptable Password IV
typing.Callable
Callable
functools.partial
partial
functools
First
Ascending List
float
typing.Iterable
Iterable
bool
typing
First
Surjection Strings
zip
bool
elif
False
True
First
Acceptable Password II
typing.Callable
Callable
functools.partial
partial
functools
First
Verify Anagrams
isspace
dict-comp
not
lower
lambda
1
First
Boolean Algebra
not
or
inline-if
and
Scientific Expedition
First
Beat The Previous
print
append
list
int
str
11
1
First
Combining Celebrity Names
re.sub
sub
f-string
re
print
14
First
Caps Lock
upper
enumerate
inline-if
join
split
1
First
Conversion into CamelCase
upper
map
lambda
join
split
1
First
The Hidden Word
ljust
find
zip
map
None
First
Remove Accents
decomposition
unicodedata.decomposition
unicodedata
as
chr
1
First
Time Converter (24h to 12h)
format
inline-if
split
else
int
First
YAML. Simple Dict
Dict
typing.Dict
isspace
Any
typing.Any
First
Goes Right After
find
bool
and
str
First
Sum by Type
typing.Union
Union
Tuple
typing.Tuple
isinstance
First
Follow Instructions
for
1
First
Conversion from CamelCase
istitle
lower
inline-if
join
comprehension
First
Pangram
all
lower
count
comprehension
First
Striped Words
re.split
upper
isalpha
re
set
First
The Most Wanted Letter
filter
values
dict-comp
min
set
O'Reilly
First
Loading Cargo
zfill
bin
zip
map
min
6
1
First
Ordinary Cardinals
tuple
count
print
sorted
list
12
First
Median of Three
yield
enumerate
pop
typing.Iterable
Iterable
17
First
Chunk
typing.Iterable
Iterable
typing
range
list
17
First
Reverse Every Ascending
reversed
typing.Iterable
Iterable
typing
or
18
First
Determine the Order
filter
dict-comp
any
sort
enumerate
18
First
Sum of Digits
map
abs
sum
print
while
1
First
How Deep
object
isinstance
filter
tuple
map
First
Compress List
yield
is
typing.Iterable
None
Iterable
First
Time Converter (12h to 24h)
re.split
zfill
f-string
re
and
1
First
Majority
List
typing.List
bool
typing
count
First
Replace Last
islice
itertools.islice
chain
itertools.chain
itertools
First
Sort Except Zero
Number
numbers.Number
numbers
iter
next
First
Frequency Sorting
cmp_to_key
functools.cmp_to_key
chain
itertools.chain
functools
First
Remove All After
ValueError
index
typing.Iterable
Iterable
except
Incinerator
First
The Healers
class
object
property
super
decorator
3
First
Microwave Ovens
class
object
zfill
divmod
add
4
First
The Lancers
class
object
property
super
decorator
6
1
First
Geometry Figures
math.tan
tan
class
math.pi
super
9
First
The Defenders
class
object
property
super
decorator
15
1
First
Party Invitations
class
object
format
remove
None
18
1
First
Multicolored Lamp
cycle
itertools.cycle
class
next
itertools
First
The Warriors
class
object
property
super
decorator
First
Army Units
class
super
format
First
Army Battles
class
object
property
super
decorator
Mine
First
Chess Knight
chain
itertools.chain
update
filter
f-string
13
1
First
What Is Wrong With This Family?
difference
issubset
chain
itertools.chain
union
14
First
Count Divisibles in Range
inline-if
print
int
14
First
Postfix Evaluation
operator.sub
operator.add
mul
operator.mul
typing.Union
20
First
Replace with Biggest
reversed
typing.Iterable
Iterable
typing
print
First
Escape
typing.Union
Union
Fraction
fractions.Fraction
fractions
1
First
Switch Keys to Values
functools.reduce
reduce
functools
add
dict
Second
Switch Keys to Values
TypeVar
typing.TypeVar
groupby
itertools.groupby
dict-comp
First
Adjacent Letters
pop
print
join
and
append
1
First
Cut Sentence
isspace
format
not
while
and
First
Currency Style
isspace
match
re.match
re
replace
First
Can Balance
itertools.count
mul
operator.mul
operator
itertools
First
Caesar Cipher (decryptor)
chr
ord
map
isalpha
or
1
First
Best Stock
max
lambda
2
First
Caesar Cipher (encryptor)
chr
ord
map
join
if
First
Disposable Teleports
class
discard
difference
filter
dict-comp
Ice Base
First
Count Chains
typing.Set
Set
from_iterable
itertools.from_iterable
difference
6
First
Identify Block
groupby
itertools.groupby
all
get
any
15
1
First
Factorial Zeros
min
print
while
range
int
15
First
Largest Rectangle in a Histogram
from_iterable
itertools.from_iterable
groupby
itertools.groupby
chain
17
Counting Fives
Factorial Zeros
sum
print
while
range
comprehension
17
First
One Switch Strings
zip
bool
not
print
if-comprehension
20
First
Move Zeros
extend
filter
None
print
range
First
Interesting, intersecting
tuple
bool
print
False
and
First
Making Change
filter
get
min
None
set
1
First
Reverse Roman Numerals
zip
else
int
str
for
1
First
When "k" is Enough!
yield
typing.Iterable
Iterable
typing
print
1
First
Correct Capital
istitle
islower
isupper
bool
or
2
GroupBy
Long Repeat
groupby
itertools.groupby
itertools
max
inline-if
1
First
Is String a Number?
isdigit
bool
print
False
True
First
Find Quotes
yield
typing.Iterable
Iterable
not
typing
1
First
Morse Encoder
get
map
lower
join
split
Alice In Wonderland
Itertools
Swap Nodes
itertools.tee
tee
itertools.zip_longest
zip_longest
chain
3
First
Multiplication Table
bin
sum
list-comp
comprehension
int
10
First
Swap Nodes
reversed
typing.Iterable
Iterable
typing
append
First
Long Non Repeat
index
join
in
append
len
First
The Fastest Horse
collections.Counter
Counter
get
collections
List
Sliced
Swap Nodes
islice
itertools.islice
iter
reversed
itertools
1
First
Zigzag Array
List
typing.List
typing
append
range
Itertools2
Swap Nodes
itertools.tee
tee
compress
itertools.compress
cycle
First
When is Friday?
datetime.strptime
strptime
datetime.datetime
datetime
inline-if
First
The Shortest Knight's Path
add
set
while
int
for
First
Middle Characters
len
GitHub
First
Create Intervals (generator version)
yield
None
or
sorted
and
4
First
Power Supply
difference
chain
itertools.chain
update
get
6
1
First
Simplify Unix Path
re.split
f-string
pop
re
not
8
First
The Cheapest Flight
coo_matrix
scipy.sparse.coo_matrix
scipy.sparse.csgraph.dijkstra
dijkstra
scipy
9
First
Evenly Spaced Trees
any
List
typing.List
zip
min
12
1
First
Searchlights
math.cos
cos
math.sin
sin
Tuple
20
First
Expand Intervals
chain
itertools.chain
itertools
typing.Iterable
Iterable
First
Area of a Convex Polygon
cycle
itertools.cycle
next
itertools
abs
1
First
Shooting Range
all
round
None
not
or
2
First
Merge Intervals
pop
while
and
append
if
1
First
Cookies
find
inline-if
split
len
1
Dropbox
First
Nonogram Row
combinations
itertools.combinations
match
re.match
yield
5
1
First
Count Squares
issuperset
complex
set-comp
tuple
pop
12
First
Frogs Collision
tuple
None
or
print
and
12
First
Tricky String
ne
operator.ne
raise
operator
ValueError
15
First
Sort Sorted Groups
chain
itertools.chain
yield
is
itertools
15
First
Revorse the vewels
frozenset
upper
isupper
None
bool
20
First
On the same path
typing.Set
Set
Ellipsis
typing.Union
Union
1
First
Atbash Cipher
reversed
get
dict
upper
zip
First
Worth of Words
max
lambda
sum
comprehension
First
Friendly Number
round
index
abs
inline-if
while
First
Simple Hashlib
hashlib.sha1
hashlib.sha224
hashlib.sha256
hashlib.sha384
hashlib.sha512
First
Three Points Circle
re.split
re.search
search
format
round
First
Numbers Factory
inline-if
while
and
range
int
PyCon TW
First
Sum Consecutives
groupby
itertools.groupby
itertools
typing.Iterable
Iterable
1
First
Double Substring
yield
any
typing.Iterable
Iterable
typing
First
Golden Pyramid
tuple
max
append
list-comp
range
Storage
First
English to Braille Translator
functools.reduce
reduce
extend
functools
zip
15
First
List Beautify
rjust
f-string
zip
map
max
16
First
Earth Distances
math.radians
radians
math.cos
cos
math.sin
20
1
First
Group Equal consecutive
groupby
itertools.groupby
itertools
list
comprehension
1
First
Exec Quine
First
Saw the Stick
Fraction
fractions.Fraction
fractions
float
map
1
HubSpot
First
Weekly Calendar
datetime.fromordinal
fromordinal
datetime.timedelta
timedelta
date
8
First
Team Play
NamedTuple
typing.NamedTuple
typing.Callable
typing.Iterator
Callable
16
1
First
Node Disconnected Users
difference
update
filter
values
add
1
First
Next Birthday
calendar.isleap
isleap
Dict
typing.Dict
calendar
First
Workout
math.ceil
ceil
is
collections.Counter
Counter
First
Square Board
islice
itertools.islice
cycle
itertools.cycle
chain
1
First
New Cities
difference
update
add
dict
pop
1
First
Non Empty Lines
isspace
not
if-comprehension
and
list-comp
First
Repeating Decimals
Fraction
fractions.Fraction
fractions
divmod
format
1
First
The Hamming Distance
bin
sum
list-comp
comprehension
int
Blizzard
Speeded Up First
Permutation Index
Tuple
typing.Tuple
copy
remove
typing
3
First
Reversed Permutation Index
math.factorial
factorial
divmod
yield
math
9
2
First
Checkers Capture
tuple
bool
set
max
print
16
First
Permutation Index
math.factorial
factorial
Tuple
typing.Tuple
math
First
Useless Flights
from_iterable
itertools.from_iterable
chain
itertools.chain
itertools.product
First
The First Working Day
datetime.fromisoformat
fromisoformat
datetime.timedelta
timedelta
date
1
First
Rectangles Union
chain
itertools.chain
Tuple
typing.Tuple
itertools
First
Safe Coasts
Enum
enum.Enum
enum
class
yield
First
Radiation Search
update
add
set
max
lambda
Rock
First
Count Comprehensions
AST
ast.AST
DictComp
GeneratorExp
ListComp
2
First
Greedy Number
index
max
print
join
append
6
First
Web Log Sessions
collections.namedtuple
namedtuple
groupby
itertools.groupby
yield
8
First
Water Jars
chain
itertools.chain
filter
values
get
10
First
River Crossing
Optional
typing.Optional
math.ceil
ceil
math
16
First
Park Benches
NoReturn
typing.NoReturn
compress
itertools.compress
Dict
16
First
Sort by Removing
List
typing.List
typing
inline-if
append
1
First
Parity Bit Generator
chr
bin
map
lambda
count
First
Super Root
abs
while
if
Shelter
BrutalForce
Halloween Monsters
Mapping
typing.Mapping
copy.copy
functools.partial
partial
6
1
First
The Nearest Square Number
round
9
First
Completely Empty
TypeError
iter
all
map
except
19
1
EylerPath
One line Drawing
copy.deepcopy
deepcopy
chain
itertools.chain
copy
First
Seven Segment
typing.Iterator
Iterator
frozenset
filter
islower
First
Ghosts Age
while
else
if
Codeship
First
Champernowne Word
math.ceil
ceil
math
inline-if
print
20
First
Ugly Numbers
collections.abc.Iterator
Iterator
chain
itertools.chain
next
1
First
Probably Dice
dict-comp
sum
if-comprehension
in
range
3
First
Bats Bunker
all
round
abs
not
or
Hermit
First
Shorter Set
set
inline-if
print
sorted
int
4
Second
Stock Profit
min
max
print
list
int
4
1
Second
Unique Email Addresses
f-string
map
replace
set
lower
7
1
First
Excel Column Number
dict-comp
enumerate
sum
print
comprehension
8
Third
Stock Profit
itertools.accumulate
accumulate
operator.sub
operator
sub
14
Second
Mono Captcha
chain
itertools.chain
itertools
List
typing.List
17
First
Unique Email Addresses
TypeVar
typing.TypeVar
typing.Callable
Callable
itertools.takewhile
18
1
First
Mono Captcha
chain
itertools.chain
itertools
List
typing.List
Brutal Force
Break Rings
discard
frozenset
iter
next
copy
1
First
Stock Profit
itertools.accumulate
accumulate
operator.sub
itertools.starmap
starmap
First
Fractions Addition
itertools.starmap
starmap
typing.Union
Union
Fraction
First
Count Consecutive Summers
while
int
if
1
Watchtower
Filtration
Bulls and Cows
random.choice
choice
random
itertools.permutations
permutations
11
Light chasing
Wall Keeper
extend
any
tuple
set
not
First
Rotate Hole
insert
all
pop
set
while
Escher
Second
The Ship Teams
groupby
itertools.groupby
update
copy
get
3
2
First
Keys and Locks
dropwhile
itertools.dropwhile
eq
operator.eq
chain
4
1
First
Safe Code
re.split
eval
filter
any
re
5
First
Card Game
dict-comp
pop
sorted
in
elif
8
1
First
Hypercube
typing.Iterator
Iterator
chain
itertools.chain
itertools.product
8
First
Treasures
copy
format
None
max
lambda
9
First
The Stone Wall
zip
enumerate
min
lambda
count
First
The Secret Room
divmod
index
sorted
join
append
1
First
The Buttons
isdisjoint
chain
itertools.chain
intersection
update
First
Graphical Key
Mapping
typing.Mapping
FrozenSet
typing.FrozenSet
functools.lru_cache
First
Wild Dogs
chain
itertools.chain
combinations
itertools.combinations
all
First
The Stones
any
min
inline-if
if-comprehension
False
1
First
The Tower
itertools.repeat
repeat
Ellipsis
groupby
itertools.groupby
First
Compass, Map and Spyglass
itertools.product
product
dict-comp
itertools
min
3
Second
Ground for the House
itertools.takewhile
takewhile
all
itertools
zip
1
Third
The Ship Teams
functools.reduce
reduce
functools
sorted
append
First
The Ship Teams
sorted
append
else
for
if
Not On Map
First
Aggregate and Count
dict
print
list
for
if
1
First
Most Wanted Letter
collections.Counter
Counter
values
collections
isalpha