12
Kosuke_Yanai
2 11 26
715/ 745
Kosuke Yanai
Last seen 2 years ago
Member for 2 years, 2 months, 17 days
Difficulty Normal
Missions (68) / Solutions (69)
Best solutions / Newest solutions
Initiation
First
Replace First
typing.Iterable
Iterable
typing
list
9
First
Nearest Value
numpy.abs
numpy.array
array
numpy
as
14
First
Easy Unpack
tuple
First
Split Pairs
list-comp
range
comprehension
len
if
1
First
Number Length
int
str
len
First
End Zeros
while
else
int
if
First
Beginning Zeros
break
not
else
int
str
First
Acceptable Password I
bool
str
len
1
First
Remove All Before
index
typing.Iterable
Iterable
typing
inline-if
First
Between Markers (simplified)
findall
re.findall
format
re
join
First
Max Digit
max
int
str
First
Correct Sentence
upper
inline-if
str
First
Backward String
str
First
Sum Numbers
findall
re.findall
r-string
map
re
1
First
The Most Frequent
collections.Counter
Counter
items
collections
max
First
Is Even
bool
inline-if
False
True
int
First
All the Same
Any
typing.Any
List
typing.List
bool
First
All Upper I
isupper
bool
except
try
True
First
Count Digits
findall
re.findall
re
int
str
First
First Word (simplified)
re.search
search
r-string
re
str
Home
First
Between Markers
find
inline-if
in
str
len
First
Popular Words
dict
lower
count
split
list
First
Days Between
as
datetime.datetime
datetime
abs
First
Sort Array by Element Frequency
fromkeys
dict
zip
index
lambda
First
Three Words
findall
re.findall
r-string
re
bool
First
Pawn Brotherhood
chr
ord
set
in
elif
First
Backward Each Word
inline-if
join
list-comp
split
comprehension
First
Even the Last
IndexError
except
try
sum
list
First
Sun Angle
typing.Union
Union
float
typing
inline-if
1
First
Split List
list
len
split by Regular expressions
Date and Time Converter
re.split
format
re
inline-if
split
Simple replace and split
Morse Decoder
capitalize
replace
join
list-comp
split
First
Bigger Price
lambda
sorted
True
list
int
the position of 'replace'
Right to Left
tuple
replace
join
str
First
Second Index
enumerate
None
count
inline-if
if-comprehension
First
First Word
re.search
search
r-string
re
str
First
Non-unique Elements
count
if-comprehension
list-comp
list
comprehension
1
Electronic Station
check order by index
Words Order
ValueError
bool
except
try
set
14
sum of isnumeric
All Upper II
isnumeric
upper
lambda
inline-if
sum
long and complicated
Acceptable Password V
isdigit
not
lambda
or
sum
1
compare edge length
Similar Triangles
combinations
itertools.combinations
Tuple
typing.Tuple
itertools
index with duplication
Surjection Strings
all
index
list-comp
range
comprehension
sorted with rfind & zip
Sort by Extension
rfind
List
typing.List
zip
typing
clear condition
Acceptable Password VI
isdigit
set
lower
or
sum
1
append & pop
Brackets
values
keys
pop
count
inline-if
bool
Acceptable Password IV
isdigit
lambda
or
sum
comprehension
isdigit and isdecimal
Acceptable Password III
isdecimal
any
isdigit
not
and
sorted and set
Ascending List
set
lambda
sorted
isdigit and len
Acceptable Password II
any
isdigit
and
comprehension
len
dict & setdefault
Verify Anagrams
setdefault
lower
count
if-comprehension
list-comp
Second_difference between [ ] and [' ']
Brackets
values
keys
pop
in
elif
O'Reilly
Flatten by recursion #2
The Flat Dictionary
isinstance
is
any
dict
items
8
not datetime but re.findall
Time Converter (12h to 24h)
findall
re.findall
f-string
r-string
re
8
reverse every ascending by sorted with slices
Reverse Every Ascending
sorted
if-comprehension
True
list-comp
range
8
not datetime but re.findall II
Time Converter (12h to 24h)
findall
re.findall
f-string
r-string
re
16
combination of max and if for total seconds
Lightbulb Start Watching
Optional
typing.Optional
datetime.datetime
datetime
List
sum of "total_seconds"
Lightbulb Intro
lambda
sum
list-comp
range
comprehension
pop from sorted value
Sort Except Zero
pop
typing.Iterable
Iterable
typing
inline-if
sorted by Counter items
Frequency Sorting
collections.Counter
Counter
items
collections
List
determine the end of slice by index
Remove All After
index
lambda
inline-if
in
simple slice
Replace Last
lambda
simple count
Majority
lambda
count
False
True
Flatten a List with flatten and yield
Flatten a List
yield
isinstance
list
else
for
Flatten by recursion
The Flat Dictionary
isinstance
is
any
dict
items
calculate median by sort and slice
Median of Three
typing.Iterable
Iterable
typing
sorted
list-comp
statistics median
Median
statistics.median
statistics
median
lambda
itertools.groupby
Compress List
groupby
itertools.groupby
itertools
list-comp
list
how can it be easier to check the range?
Index Power
lambda
inline-if
and
len
Incinerator
simple class(no superclass)
The Warriors
class
break
while
False
and