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