21
shota243
7 19 28
2572/ 2695
しょーた
Last seen 4 years ago
Member for 10 years, 3 months, 2 days
Difficulty Normal
'Ama'grammer from Japan. Working as a pre-sales and post-sales engineer and product manager for some software products. Was a test engineer years ago. Was a programmer decades ago.

Missions (144) / Solutions (155)
Best solutions / Newest solutions
Home
First
Days Between
date
datetime.date
datetime
abs
First
Pawn Brotherhood
set-comp
index
or
if-comprehension
in
First
Right to Left
replace
join
Second
Non-unique Elements
set-comp
set
count
if-comprehension
in
First
Three Words
isalpha
False
and
True
list-comp
First
Non-unique Elements
remove
set
if-comprehension
in
list-comp
First
Even the Last
sum
list-comp
range
comprehension
len
Electronic Station
truth table
Boolean Algebra
MULTILINE
re.MULTILINE
re.search
search
r-string
7
4
First
Mathematically Lucky Tickets
Fraction
fractions.Fraction
fractions
itertools.product
product
20
First
Can You Pass?
operator.or_
or_
operator
set-comp
functools.reduce
advised by veky
Boolean Algebra
MULTILINE
re.MULTILINE
findall
re.findall
re.search
1
First
Verify Anagrams
isspace
not
lower
sorted
if-comprehension
First
Find Sequence
False
True
range
len
for
First
Brackets
re.compile
compile
is
re
None
First
Digits Multiplication
functools.reduce
reduce
functools
lambda
if-comprehension
Scientific Expedition
First
Call to Home
set
inline-if
sum
sorted
if-comprehension
First
Remove Accents
normalize
unicodedata.normalize
unicodedata
lambda
join
First
Letter Queue
class
startswith
pop
None
join
Second
Striped Words
re.I
I
re.compile
compile
r-string
First
Bird Language
r-string
lambda
dir and decorator
I Love Python!
pprint
cmath
dir
islice
itertools.islice
First
The Most Wanted Letter
dict
items
min
lower
in
base64
I Love Python!
lambda
First
The Hidden Word
continue
enumerate
index
replace
except
First
Secret Message
filter
isupper
lambda
join
First
Cipher Map
itertools.starmap
starmap
chain
itertools.chain
reversed
1
First
Striped Words
re.I
I
re.compile
compile
r-string
First: oneliner
Morse Clock
bin
zip
map
replace
lambda
First
Common Words
set
sorted
join
split
list
First
Absolute Sorting
abs
sorted
O'Reilly
First
Parse Array
raise
is
ValueError
pass
continue
First
Median
sort
len
4
First
Loading Cargo
combinations
itertools.combinations
itertools
min
abs
First
Count Inversions
combinations
itertools.combinations
itertools
sum
if-comprehension
First
Determine the Order
set-comp
zip
min
set
while
First: repr and eval
Flatten a List
repr
eval
replace
lambda
Second: re.sub
Flatten a List
repr
eval
re.sub
sub
re
Third: recursive generator
Flatten a List
yield
isinstance
lambda
list-comp
list
First
Index Power
inline-if
len
First
Xs and Os Referee
in
range
for
if
1
Mine
First - revised
Color Map
frozenset
chain
itertools.chain
set-comp
itertools
11
First
The Greatest Common Divisor
fractions.gcd
gcd
fractions
functools.reduce
reduce
17
First
Achilles and the Tortoise
17
Euclidean
The Greatest Common Divisor
elif
else
len
if
oneliner
The Greatest Common Divisor
filter
tuple
min
set
lambda
First
Determinant
sum
list-comp
range
comprehension
len
First
Moore Neighbourhood
min
max
sum
comprehension
len
4
First
Disposable Teleports
operator.or_
or_
frozenset
operator
set-comp
First
Fizz Buzz
elif
str
if
First
Binary Count
bin
count
Ice Base
First
Counting Tiles
math.ceil
ceil
math.sqrt
sqrt
math
8
First
Oil Pie
Fraction
fractions.Fraction
fractions
as
map
First
Monkey Typing
lower
if-comprehension
in
list-comp
comprehension
3
First
Clock Angle
tuple
map
abs
split
int
First
How to Find Friends
operator.or_
or_
frozenset
operator
set-comp
First
Feed Pigeons
max
while
First
Roman Numerals
join
append
for
First
The Most Numbers
min
max
len
if
Alice In Wonderland
First
Multiplication Table
bin
count
int
len
7
First
The Shortest Knight's Path
set-comp
ord
set
while
if-comprehension
First
Digits Doublets
zip
enumerate
min
None
join
First
Transposed Matrix
list-comp
range
comprehension
len
GitHub
First
Area of a Convex Polygon
abs
sum
list-comp
range
comprehension
4
First
Shooting Range
round
min
abs
max
or
18
First
The End of Other
reversed
not
in
False
True
First
Painting Wall
bisect.bisect_left
bisect_left
bisect
insert
enumerate
First
Open Labyrinth
None
and
if
Dropbox
First
Three Points Circle
ZeroDivisionError
re.compile
compile
math.sqrt
sqrt
6
First
Place Queens
set-comp
is
continue
index
min
13
First
Hubspot Amulet
Fraction
fractions.Fraction
fractions
itertools.product
product
19
First
URL Normalization
divmod
yield
insert
endswith
chr
19
First
Simple Hashlib
getattr
hashlib
is
None
if
20
First
Humpty Dumpty Form
math.atanh
atanh
math.asin
asin
math.pi
First
Friendly Number
math.log
log
format
round
math
First
Numbers Factory
raise
ValueError
except
try
while
First
Speech Module
divmod
join
elif
append
else
PyCon TW
First
How Much Gold
items
set
sorted
join
split
1
First
Dark Labyrinth
get
dict
items
find
map
7
First
Digit Stack
class
continue
pop
None
sum
14
4
First
Robot Sort
format
join
range
else
len
14
First
Network Attack
operator.or_
or_
operator
functools.reduce
reduce
18
First
Simple Areas
math.pi
pi
math.sqrt
sqrt
round
Second: exception
Simple Areas
math.pi
pi
math.sqrt
sqrt
ValueError
First
Golden Pyramid
max
len
if
Loop
Golden Pyramid
zip
map
max
sum
list
Reduce
Golden Pyramid
islice
itertools.islice
reversed
functools.reduce
reduce
First
Express Delivery
enumerate
min
not
or
while
First
Building Visibility
reversed
break
max
lambda
sorted
First
Calculate Islands
isdisjoint
frozenset
chain
itertools.chain
union
First
House Password
isnumeric
islower
isupper
False
and
Storage
First
Mind Switcher
operator.or_
or_
operator
set-comp
yield
11
First
Square Spiral
divmod
math.sqrt
sqrt
math
abs
12
First
Earth Distances
math.radians
radians
math.cos
cos
math.sin
13
First
Moria Doors
rindex
findall
re.findall
r-string
map
14
First
Word Pattern
bin
isdigit
inline-if
False
list-comp
20
First
Playfair Cipher
operator.add
class
isalnum
operator
functools.reduce
base64
Exec Quine
strip
lambda
1st: one liner
Weak Point
zip
min
lambda
sum
range
First
Restricted Prime
while
in
elif
False
True
First
Haunted House
complex
frozenset
decorator
dict-comp
keys
First
The Rows of Cakes
fractions.gcd
gcd
fractions
combinations
itertools.combinations
First
Digging a Canal
isdisjoint
frozenset
itertools.permutations
permutations
union
First
Saw the Stick
pop
while
elif
append
True
First
Skew-symmetric Matrix
IndexError
except
try
False
True
HubSpot
First
Expected Dice
Fraction
fractions.Fraction
fractions
decorator
as
7
First
Repeating Decimals
divmod
format
join
while
in
13
Second: IndexError
Restricted Sum
IndexError
pop
except
try
First
The Hamming Distance
while
First
Restricted Sum
if
First
Number Base
ValueError
except
try
int
Blizzard
First
Radiation Search
functools.reduce
reduce
functools
set
max
4
First
Palindromic Palindrome
lambda
18
First
Safe Coasts
operator.add
operator
update
functools.reduce
reduce
First
Sudoku Solver
operator.or_
or_
repr
operator.add
class
First
Min and Max
StopIteration
TypeError
raise
ValueError
break
First
Stair Steps
itertools.product
product
itertools
zip
break
First
Weekend Counter
divmod
set
list-comp
range
comprehension
1
First: brute force
Spaceship Landing Strip
itertools.takewhile
takewhile
reversed
itertools
continue
First
The Angles of a Triangle
math.degrees
degrees
math.acos
acos
round
Rock
First
Berserk Rook
set-comp
index
min
max
if-comprehension
9
First: Newton method
Super Root
math.log
log
math
abs
lambda
First
Life Counter
zip
abs
max
inline-if
sum
1
First: breadth first search
Water Jars
itertools.permutations
permutations
add
itertools
tuple
First
CheckSum
reversed
ord
isupper
isdigit
not
Shelter
First
The Lantern Festival
operator.or_
or_
itertools.product
product
operator
10
1
First
One line Drawing
operator.or_
or_
frozenset
operator
set-comp
11
First
AMSCO Cipher
divmod
extend
index
sum
join
20
First
Pattern Recognition
continue
enumerate
not
False
True
First
Ghosts Age
class
math.log
log
math.pow
raise
Codeship
First
The 88th Puzzle
repr
add
items
tuple
while
3
First: predefined squares
The Square Chest
frozenset
map
set
if-comprehension
list-comp
6
1
First
Unfair Dice
itertools.product
product
yield
itertools
break
12
First
Probably Dice
min
or
sum
in
elif
15
Second: decorator
Probably Dice
decorator
min
or
sum
elif
16
First
Minesweeper
Number
numbers.Number
numbers
class
raise
First
Behind 2048
reversed
zip
map
enumerate
None
First
Bats Bunker
complex
combinations
itertools.combinations
add
items
First
8 Puzzle
add
tuple
index
None
or
First
Pearls in the Box
Fraction
fractions.Fraction
fractions
float
round
Hermit
First
Keywords Finder
escape
re.escape
re.I
I
re.compile
20
First
Simplification
startswith
itertools.product
product
set-comp
extend
First
Mono Captcha
zip
enumerate
break
count
sum
First
Anagrams By Stacks
yield
continue
enumerate
pop
index
First
The Good Radix
index
max
while
list-comp
comprehension
First
Ore In The Desert
complex
round
abs
if-comprehension
list-comp
Watchtower
First
Numbered Triangles
insert
functools.reduce
reduce
functools
dict-comp
4
3
First
Bag of Santa Claus
max
elif
False
True
else
14
First
Vigenere Cipher
chr
all
ord
zip
map
1st: re, one liner
Rotate Hole
filter
map
max
lambda
inline-if
First
Number Guess
remove
if-comprehension
in
list-comp
range
First
Magic Square
operator.or_
or_
copy.deepcopy
deepcopy
operator
First
Funny Addition
check_output
os.name
subprocess
subprocess.check_output
os
First
Convex Hull
operator.or_
or_
combinations
itertools.combinations
operator