35
yoichi
10 32 46
7495/ 7695
Yoichi NAKAYAMA
Last seen 10 months ago
Member for 10 years, 3 months
Difficulty Normal
Missions (332) / Solutions (354)
Best solutions / Newest solutions
Initiation
First
Between Markers (simplified)
index
str
1
17
slice
Backward String
str
2
1
without *
Multiply (Intro)
sum
range
comprehension
2
5
double negation of slice
Acceptable Password I
bool
not
str
2
5
No ascii_lowercase letters
All Upper I
ascii_lowercase
string.ascii_lowercase
string
all
bool
1
int . max . str
Max Digit
max
int
str
1
First
Split Pairs
yield
while
else
len
if
First
Replace First
typing.Iterable
Iterable
typing
list
First
Correct Sentence
capitalize
endswith
not
str
if
min
Nearest Value
min
abs
set
lambda
int
First
The Most Frequent
setdefault
values
sorted
append
True
First
Number Length
int
str
len
First
Is Even
bool
not
int
First
End Zeros
reversed
break
else
int
str
try int
Sum Numbers
ValueError
pass
except
try
split
First
Count Digits
digits
string.digits
string
sum
in
Take the defference
Beginning Zeros
inline-if
int
str
len
First
Remove All Before
ValueError
index
typing.Iterable
Iterable
except
First
Easy Unpack
First
First Word (simplified)
split
str
First
All the Same
Any
typing.Any
any
List
typing.List
Home
groupby and pairwise
Changing direction
itertools.pairwise
pairwise
groupby
itertools.groupby
itertools
12
First
Split List
list
len
14
First
Duplicate Zeros
append
list
for
if
16
First
Missing Number
min
max
range
list
int
First
Date and Time Converter
datetime.strptime
strptime
datetime.datetime
datetime
replace
First
Popular Words
dict-comp
dict
lower
count
split
1
First
Three Words
map
isalpha
lambda
inline-if
join
1
Second
Even the Last
inline-if
sum
3
First
Sort Array by Element Frequency
functools.reduce
reduce
functools
enumerate
index
First
Days Between
date
datetime.date
datetime
abs
First
Morse Decoder
capitalize
match
re.match
re
break
First
Between Markers
find
else
str
len
if
First
Right to Left
replace
join
First
Even the Last
range
len
for
if
First
Backward Each Word
map
lambda
join
split
str
First
First Word
re.sub
sub
r-string
re
split
First
Pawn Brotherhood
chr
ord
continue
in
for
2
First
Sun Angle
datetime.strptime
strptime
datetime.datetime
datetime
or
First
Second Index
find
None
str
if
First
Bigger Price
lambda
sorted
True
list
int
First
Non-unique Elements
filter
lambda
count
list
Electronic Station
compare side length ratio
Similar Triangles
combinations
itertools.combinations
Tuple
typing.Tuple
math.sqrt
2
11
First
Remove Brackets
combinations
itertools.combinations
itertools
enumerate
replace
4
6
First
Acceptable Password VI
digits
string.digits
string
all
bool
str.translate
Surjection Strings
setdefault
translate
enumerate
bool
str
1
sorted and set
Ascending List
typing.Iterable
Iterable
bool
set
typing
First
Can You Pass?
update
add
set
while
in
First
Acceptable Password V
digits
string.digits
string
all
bool
First
Sort by Extension
List
typing.List
map
not
typing
First
Verify Anagrams
replace
lower
lambda
sorted
First
Boolean Algebra
eval
not
in
if
First
Acceptable Password IV
digits
string.digits
string
all
bool
First
Words Order
ValueError
index
bool
except
try
First
Acceptable Password III
digits
string.digits
string
all
bool
First
All Upper II
digits
string.digits
ascii_uppercase
string.ascii_uppercase
string
First
Digits Multiplication
int
str
for
if
First
Acceptable Password II
digits
string.digits
string
all
bool
1
First
Find Sequence
break
elif
False
True
range
First
Brackets
pop
not
in
elif
False
Scientific Expedition
title
Conversion into CamelCase
title
replace
1
10
First
Time Converter (24h to 12h)
map
elif
split
else
int
2
4
First
YAML. More Types
startswith
eval
endswith
strip
ValueError
9
First
Sum by Type
Tuple
typing.Tuple
isinstance
typing
sum
11
4
First
Caps Lock
upper
enumerate
inline-if
join
split
14
1
First
Call to Home
math.ceil
ceil
values
math
in
one-liner
Call to Home
groupby
itertools.groupby
itertools
max
lambda
max
Latest ISO datetime
max
1
First
Cipher Map
join
range
for
if
First
Convert and Aggregate
dict-comp
get
dict
items
tuple
First
Letter Queue
continue
not
else
for
if
First
YAML. Simple Dict
splitlines
ValueError
except
try
split
First
Remove Accents
normalize
unicodedata.normalize
unicodedata
or
for
First
Bird Language
not
while
in
elif
else
First
Conversion into CamelCase
capitalize
map
lambda
join
split
1
First
The Hidden Word
filter
find
map
enumerate
max
compare indices
Goes Right After
ValueError
index
bool
except
try
First
I Love Python!
capitalize
map
lambda
inline-if
join
First
Follow Instructions
lambda
for
First
Secret Message
filter
lambda
join
First
Common Words
sorted
join
if-comprehension
in
list-comp
First
Absolute Sorting
abs
sorted
1
First
Pangram
intersection
set
lower
lambda
1
First
Conversion from CamelCase
translate
f-string
chr
upper
ord
Easily get description of functions
I Love Python!
First
Striped Words
string.whitespace
whitespace
punctuation
string.punctuation
string
First
Morse Clock
bin
map
lambda
inline-if
join
First
The Most Wanted Letter
isalpha
lower
count
or
elif
O'Reilly
recursion
How Deep
isinstance
max
comprehension
int
if
1
5
First
Flatten a List (iterator version)
collections.Iterable
StopIteration
raise
yield
isinstance
2
1
First
Time Converter (12h to 24h)
format
zip
map
inline-if
sum
5
groupby
Compress List
groupby
itertools.groupby
itertools
typing.Iterable
Iterable
7
2
First
Flatten a List (generator version)
type
yield
else
int
for
9
First
Lightbulb End Watching
Optional
typing.Optional
raise
datetime.datetime
ValueError
18
recursion
The Flat Dictionary
isinstance
dict
items
or
join
2
First
Cipher Crossword
itertools.permutations
permutations
all
itertools
map
divmod
Integer Palindrome
divmod
reversed
bool
while
append
First
Multiple Lightbulbs
typing.Union
Union
Optional
typing.Optional
Tuple
First
The Final Stone
abs
not
sorted
list
int
count > len//2
Majority
bool
count
True
list
len
Second
Xs and Os Referee
frozenset
in
range
comprehension
if
3
First
Sum of Digits
map
sum
while
int
str
1
First
Reverse Every Ascending
reversed
functools.reduce
reduce
functools
map
1
First
Median of Three
typing.Iterable
Iterable
typing
sorted
append
walrus
Chunk
yield
typing.Iterable
Iterable
typing
while
1
First
Lightbulb Start Watching
Optional
typing.Optional
datetime.datetime
datetime
List
First
Flatten a List
eval
replace
str
First
Count Inversions
range
len
for
if
First
Lightbulb Intro
datetime.datetime
datetime
List
typing.List
typing
First
Determine the Order
setdefault
groupby
itertools.groupby
update
values
0 or sorted
Sort Except Zero
iter
next
yield
typing.Iterable
Iterable
1
slice
Replace Last
typing.Iterable
Iterable
typing
list
First
Frequency Sorting
operator.add
groupby
itertools.groupby
operator
functools.reduce
First
Index Power
len
if
First
Median
sorted
else
len
if
1
First
Remove All After
ValueError
index
typing.Iterable
Iterable
except
First
Xs and Os Referee
in
if
First
Loading Cargo
not
sum
and
range
else
Incinerator
First
Multicolored Lamp
class
9
1
First
Friends
class
frozenset
union
functools.reduce
reduce
10
First
Microwave Ovens
class
divmod
else
int
if
18
1
First
Hacker Language
class
chr
bin
ord
isalpha
18
1
First
Army Units
class
object
lower
join
20
1
First
Geometry Figures
math.tan
tan
class
math.pi
pi
First
Building Base
class
str
First
Capital City
classmethod
class
object
decorator
is
1
First
Every Person is Unique
class
format
replace
join
else
1
First
The Vampires
class
property
decorator
break
not
1
First
The Warriors
class
property
super
decorator
break
1
First
3 Chefs
class
format
First
Party Invitations
class
is
add
remove
None
First
Voice TV Control
class
object
in
else
len
1
First
Dialogues
class
object
lower
inline-if
join
First
Text Editor
class
f-string
append
else
if
1
First
The Defenders
class
property
super
decorator
break
1
First
Army Battles
class
property
super
decorator
break
Mine
list comprehension
Matrix "Hatching"
typing.Iterable
Iterable
max
typing
if-comprehension
15
1
Recursion
Domino Chain
remove
find
set
inline-if
join
19
First
Can Balance
enumerate
typing.Iterable
Iterable
not
typing
1
First
Chess Knight
chr
add
ord
set
sorted
1
itertools
Long Pressed
itertools.starmap
starmap
itertools.zip_longest
zip_longest
groupby
First
Adjacent Letters
break
while
True
range
str
dict comprehension
Switch Keys to Values
set-comp
values
dict-comp
dict
set
re
Cut Sentence
match
re.match
r-string
re
inline-if
1
First
Aggregate by Operation
case
match-case
dict-comp
get
dict
1-path
Replace with Biggest
reversed
typing.Iterable
Iterable
typing
print
First
Currency Style
finditer
re.finditer
re
elif
else
cmp_to_key
Bigger Together
cmp_to_key
functools.cmp_to_key
functools
map
lambda
No direction change with infinite repeating jar
Escape
List
typing.List
abs
bool
typing
First
Caesar Cipher (decryptor)
re.sub
sub
chr
ord
re
First
Determinant
inline-if
while
list-comp
range
comprehension
First
Moore Neighbourhood
elif
range
else
len
for
First
Achilles and the Tortoise
Functional
Fizz Buzz
functools.reduce
reduce
functools
filter
map
First
The Greatest Common Divisor
functools.reduce
reduce
functools
lambda
if
First
Disposable Teleports
remove
replace
not
in
False
First
Binary Count
while
First
Fizz Buzz
and
str
if
First
Caesar Cipher (encryptor)
chr
ord
inline-if
join
comprehension
First
Best Stock
keys
lambda
sorted
Second
Moore Neighbourhood
inline-if
sum
if-comprehension
range
comprehension
2
Ice Base
First
Long Repeat
groupby
itertools.groupby
itertools
max
inline-if
1
11
split and slice
Find Quotes
split
2
2
Second
Largest Rectangle in a Histogram
reversed
break
max
or
and
3
First
Identify Block
all
tuple
None
except
try
10
First
Oil Pie
break
while
else
for
if
First
How to Find Friends
copy
filter
add
map
replace
First
Is String a Number? (Part II)
match
re.match
r-string
re
None
3
First
Making Change
combinations_with_replacement
itertools.combinations_with_replacement
itertools
enumerate
None
1
list comprehensions
Move Zeros
if-comprehension
list-comp
list
comprehension
int
First
Is String a Number?
all
bool
and
comprehension
str
First
Correct Capital
capitalize
any
upper
bool
lower
First
Clock Angle
tuple
map
abs
split
int
1
First
One Switch Strings
filter
zip
bool
lambda
and
First
When "k" is Enough!
typing.Iterable
Iterable
typing
count
append
First
Reverse Roman Numerals
list-comp
range
comprehension
else
len
Second
Roman Numerals
while
for
2
First
Counting Tiles
continue
range
else
int
for
1
First
Morse Encoder
lower
join
comprehension
First
The Most Numbers
sort
list
len
if
Second
The Most Numbers
min
max
len
if
First
Largest Rectangle in a Histogram
break
max
or
range
len
First
Monkey Typing
find
lower
for
if
First
Feed Pigeons
max
range
for
if
First
Roman Numerals
int
if
Alice In Wonderland
First
Zigzag Array
List
typing.List
typing
sorted
list-comp
7
1
First
YAML. List and Comments
startswith
eval
endswith
strip
ValueError
11
First
When is Friday?
datetime.strptime
strptime
datetime.datetime
datetime
12
1
First
Digits Doublets
all
sum
while
if-comprehension
and
16
First
Flood Area
class
re.search
search
r-string
re
slice
Swap Nodes
extend
while
First
The Shortest Knight's Path
union
yield
add
ord
continue
1
First
IP Network: Route Summarization
bin
map
set
join
list-comp
First
Multiplication Table
bin
range
else
len
for
First
Long Non Repeat
groupby
itertools.groupby
all
itertools
sorted
First
Middle Characters
len
if
1
First
The Fastest Horse
min
max
sum
list-comp
range
First
Transposed Matrix
list-comp
range
comprehension
len
GitHub
First
Create Intervals (generator version)
StopIteration
raise
yield
not
sorted
2
First
Create Intervals (iterator version)
StopIteration
next
yield
break
except
4
First
Barcode Reader
Exception
startswith
raise
endswith
f-string
7
First
Paper Dice
reversed
all
tuple
not
inline-if
7
First
Merge Intervals (generator version)
iter
next
yield
is
None
8
reduce
Create Intervals
functools.reduce
reduce
functools
not
sorted
10
1
First
Merge Intervals (iterator version)
class
StopIteration
object
continue
None
10
First
Broken Clock
elif
split
int
if
11
First
Xs and Os Champion
False
and
True
range
else
12
issubset
Evenly Spaced Trees
List
typing.List
set
typing
while
1
First
Simplify Unix Path
break
or
join
while
elif
set
Power Supply
update
items
set
range
for
First
Long Repeat Inside
any
range
comprehension
len
for
1
First
Solution for Anything
class
object
True
reduce
Merge Intervals
functools.reduce
reduce
functools
max
not
First
The Highest Building
ValueError
continue
enumerate
index
except
1
Recursion
The Cheapest Flight
is
remove
List
typing.List
continue
First
Painting Wall
min
break
max
not
and
Keep the left hand on pits
Open Labyrinth
not
while
elif
else
if
First
Expand Intervals
functools.reduce
reduce
functools
map
typing.Iterable
First
Cookies
startswith
split
len
for
if
First
Create Intervals
continue
not
sorted
append
range
First
The Most Frequent Weekdays
date
datetime.date
datetime
list-comp
range
First
The End of Other
pop
min
while
False
True
Dropbox
First
Place Queens
itertools.permutations
permutations
combinations
itertools.combinations
copy
1
First
Atbash Cipher
filter
chr
islower
ord
map
18
1
First
Worth of Words
max
lambda
sum
comprehension
First
On the same path
typing.Union
Union
Tuple
typing.Tuple
any
1
First
URL Normalization
chr
upper
continue
pop
lower
pop
Common Tail
pop
None
while
and
list
First
The Longest Palindromic
all
continue
range
comprehension
len
First
Friendly Number
abs
or
split
else
int
First
Hubspot Amulet
continue
print
range
for
if
First
Simple Hashlib
hashlib.new
new
hashlib
update
First
Humpty Dumpty Form
math.atanh
atanh
math.asin
asin
math.pi
First
Three Points Circle
eval
math.sqrt
sqrt
round
tuple
First
Numbers Factory
sort
while
int
str
len
First
Speech Module
elif
append
int
len
if
PyCon TW
First
Building Visibility
filter
map
min
break
max
8
Second
Golden Pyramid
range
list
else
len
for
8
1
First
Double Substring
in
range
len
for
if
First
Simple Areas
math.pi
pi
math.sqrt
sqrt
math
groupby
Sum Consecutives
groupby
itertools.groupby
itertools
sum
list-comp
1
First
Network Attack
any
set
while
if-comprehension
and
First
Calculate Islands
add
remove
pop
break
set
First
Ryerson Letter Grade
int
str
for
if
Recursion
Robot Sort
sorted
range
list
len
for
First
Digit Stack
class
Exception
startswith
raise
pop
1
First
Golden Pyramid
None
or
range
len
for
Second
House Password
islower
any
isupper
isdigit
not
4
First
House Password
upper
isdigit
lower
False
True
Storage
First
Exec Quine
chr
3
1
set of frozenset
The Rows of Cakes
frozenset
combinations
itertools.combinations
any
add
7
First
Earth Distances
math.cos
cos
math.sin
sin
math.acos
11
1
First
List Beautify
format
enumerate
max
join
append
11
First
English to Braille Translator
zfill
functools.reduce
reduce
functools
bin
12
First
Square Spiral
math.ceil
ceil
math.sqrt
sqrt
math
19
1
First
Moria Doors
punctuation
string.punctuation
intersection
string
min
First
Playfair Cipher
string.whitespace
whitespace
punctuation
string.punctuation
translate
First
Word Pattern
bin
in
elif
False
True
First
Group Equal consecutive
not
or
append
else
for
Generator
Saw the Stick
itertools.takewhile
takewhile
yield
itertools
continue
4
First
Restricted Prime
abs
not
while
False
True
First
Weak Point
sum
elif
range
len
for
2
First
Skew-symmetric Matrix
False
True
range
len
for
HubSpot
First
Weekly Calendar
datetime.timedelta
timedelta
date
datetime.date
datetime
3
1
First
Next Birthday
Dict
typing.Dict
Tuple
typing.Tuple
date
4
1
division by subtruction
Univocalic davasaan
lambda
and
6
Divide maximum
Workout
math.ceil
ceil
List
typing.List
math
7
1
sort pairs by score
Team Play
List
typing.List
zip
enumerate
typing
10
1
First
Repeating Decimals
while
append
True
range
str
15
First
Square Board
divmod
Tuple
typing.Tuple
typing
elif
1
First
Auto Painting
while
False
else
len
if
First
Non Empty Lines
any
sum
split
comprehension
int
First
Number Base
break
elif
range
len
for
First
The Hamming Distance
bin
count
First
Restricted Sum
pop
not
if
Blizzard
First
Stressful Subject
endswith
re.search
search
isupper
re
2
6
First
The First Working Day
datetime.timedelta
timedelta
datetime.datetime
datetime
while
5
First
Useless Flights
List
typing.List
continue
pop
bool
6
set
Rectangles Union
Tuple
typing.Tuple
add
List
typing.List
13
2
First
Spaceship Landing Strip
issubset
all
set
max
range
14
First
Permutation Index
Tuple
typing.Tuple
pop
index
typing
First
Min and Max
iter
None
or
else
len
First
Reversed Permutation Index
math.factorial
factorial
tuple
remove
math
shift and count difference
String Conversion
zip
map
min
abs
max
1
First
Stair Steps
break
max
sum
list-comp
comprehension
First
Unlucky Days
date
datetime.date
datetime
sum
range
First
Weekend Counter
range
int
for
if
First
The Angles of a Triangle
math.acos
acos
math.pi
pi
round
First
Radiation Search
any
remove
continue
pop
abs
Rock
Third
Life Counter
add
set
not
or
sum
3
List comprehension with walrus
Sort by Removing
locals
or
if-comprehension
list-comp
list
3
slice and groupby
Home Coming
groupby
itertools.groupby
itertools
List
typing.List
5
1
First
Count Comprehensions
ast.walk
walk
ast.parse
parse
ast
6
Second
Life Counter
add
min
set
max
not
16
2
First
Berserk Rook
union
set-comp
index
max
sorted
18
Recursion
Greedy Number
max
lambda
range
comprehension
int
20
Second
CheckSum
isalnum
reversed
filter
ord
map
1
First
Super Root
while
True
range
for
if
powerset from itertools recipes
Most Efficient Cutting
from_iterable
itertools.from_iterable
chain
itertools.chain
combinations
First
Life Counter
all
or
inline-if
sum
while
2
First
Parity Bit Generator
filter
chr
bin
map
lambda
First
Web Log Sessions
setdefault
datetime.strptime
strptime
datetime.timedelta
timedelta
First
Water Jars
update
remove
ord
None
not
First
CheckSum
ord
enumerate
or
inline-if
sum
Shelter
First
Completely Empty
getattr
all
None
and
comprehension
2
1
First
ADFGVX Cipher
setdefault
isalnum
dict-comp
keys
find
2
First
Halloween Monsters
ValueError
pass
remove
enumerate
except
1
First
AMSCO Cipher
find
ord
min
while
append
First
Pattern Recognition
break
False
True
range
len
First
The Nearest Square Number
math.sqrt
sqrt
math
int
if
Second
The Nearest Square Number
math.sqrt
sqrt
math
int
First
Ghosts Age
while
in
append
range
else
set calculation
Seven Segment
set-comp
islower
upper
isupper
not
Codeship
First
Texas Referee
isinstance
filter
find
map
None
2
First
Magic with 5 cards
raise
combinations
itertools.combinations
reversed
insert
13
make sequence first
Ugly Numbers
union
set-comp
index
min
break
First
Pearls in the Box
round
count
len
if
Recursion with cache
Probably Dice
or
in
range
for
if
1
First
The Square Chest
sort
min
break
in
False
Hermit
First
Keywords Finder
find
break
lower
sorted
while
3
First
Excel Column Number
ord
int
str
for
4
1
First
Count Consecutive Summers
break
range
for
if
5
First
Mono Captcha
break
range
len
for
if
5
1
First
Break Rings
combinations
itertools.combinations
all
itertools
map
10
2
Increment
Birthday Party
datetime.timedelta
timedelta
date
datetime.date
datetime
15
First
Backspace Apply
re.sub
sub
r-string
continue
re
20
First
Network Loops
remove
pop
break
not
or
First
Unique Email Addresses
re.sub
sub
r-string
map
re
First
Stock Profit
max
range
list
comprehension
int
First
Shorter Set
min
break
set
max
not
Fraction
Fractions Addition
Fraction
fractions.Fraction
fractions
f-string
sum
First
The Good Radix
max
while
int
if
Watchtower
First
DNA Common Sequence
reversed
extend
remove
find
map
4
First
Broken Window
itertools.permutations
permutations
Tuple
typing.Tuple
reversed
9
1
Generator
Funny Addition
copy.deepcopy
deepcopy
copy
yield
pop
17
1
First
Compare Functions
Exception
is
None
except
try
20
First
Bag of Santa Claus
max
False
append
if
First
Vigenere Cipher
chr
all
ord
lambda
or
First
Bacteria Colonies
min
None
abs
inline-if
while
First
Number Guess
not
if-comprehension
in
append
list-comp
First
Rotate Hole
all
append
range
comprehension
len
First
Numbered Triangles
itertools.permutations
permutations
itertools
continue
elif
First
Funny Addition
sum
Escher
First
The Stone Wall
splitlines
lstrip
sum
elif
range
First
Ground for the House
all
break
not
while
and
First
Compass, Map and Spyglass
enumerate
min
abs
sum
comprehension
1
First
The Ship Teams
items
sorted
append
else
for
Not On Map
First
Aggregate and Count
setdefault
dict
list
for
4
1
First
Most Wanted Letter
ascii_lowercase
string.ascii_lowercase
values
string
items
20