17
autodidact_ks
5 17 30
1664/ 1695
Last seen 1 year ago
Member for 7 years, 7 months, 19 days
Difficulty Normal
Missions (149) / Solutions (149)
Best solutions / Newest solutions
Initiation
First
Easy Unpack
tuple
First
Is Even
bool
int
First
All Upper I
upper
bool
False
True
str
First
Nearest Value
index
min
abs
set
sorted
First
Beginning Zeros
lstrip
int
str
len
deque
Replace First
collections.deque
deque
collections
typing.Iterable
Iterable
First
Backward String
str
1
regex
Between Markers (simplified)
re.search
search
re
else
str
First
Number Length
int
str
len
lambda in list comprehension
Max Digit
max
lambda
list-comp
comprehension
int
First
Acceptable Password I
bool
str
len
First
Remove All Before
index
typing.Iterable
Iterable
typing
in
First
End Zeros
while
int
if
re
Count Digits
findall
re.findall
r-string
re
int
1
regex
First Word (simplified)
re.search
search
r-string
re
str
First
Multiply (Intro)
re
Sum Numbers
findall
re.findall
r-string
re
sum
textwrap.wrap
Split Pairs
textwrap.wrap
wrap
textwrap
and
else
1
First
Correct Sentence
upper
not
join
append
list-comp
Second
Correct Sentence
upper
not
join
append
list-comp
First
All the Same
Any
typing.Any
List
typing.List
bool
Home
First
Sun Angle
as
datetime.datetime
datetime
inline-if
math.ceil
Split List
math.ceil
ceil
math
list
len
First
Backward Each Word
join
list-comp
split
comprehension
str
linux only
Date and Time Converter
datetime.strftime
strftime
datetime.strptime
strptime
f-string
Counter
Sort Array by Element Frequency
collections.Counter
Counter
collections
lambda
sorted
sorted
Bigger Price
lambda
sorted
True
list
int
Counter
Popular Words
collections.Counter
Counter
dict-comp
get
dict
re in the end
Morse Decoder
re.sub
sub
upper
re
lambda
First
Between Markers
AttributeError
escape
re.escape
re.search
search
regex
First Word
re.search
search
r-string
re
str
2
First
Second Index
enumerate
None
if-comprehension
list-comp
list
datetime
Days Between
date
datetime.date
datetime
abs
Kommentierte Deutsche Lösung
Pawn Brotherhood
dict-comp
index
break
not
elif
First
Right to Left
enumerate
replace
not
in
elif
First
Three Words
ord
not
elif
False
and
First
Non-unique Elements
count
if-comprehension
list-comp
comprehension
1
First
Even the Last
sum
else
len
if
Electronic Station
First
Surjection Strings
dict
zip
bool
join
False
13
2
there must be a better way ;)
Sort by Extension
collections.defaultdict
defaultdict
findall
re.findall
f-string
First
Inside Block
tuple
enumerate
None
not
lambda
First
Acceptable Password V
isdigit
bool
except
try
lower
First
Acceptable Password VI
collections.Counter
Counter
collections
isdigit
bool
First
Acceptable Password IV
isdigit
bool
except
try
or
First
Acceptable Password III
any
isdigit
bool
except
try
First
Words Order
all
any
find
enumerate
bool
First
Acceptable Password II
digits
string.digits
string
any
bool
collections counter
Verify Anagrams
collections.Counter
Counter
collections
replace
lower
First
Ascending List
typing.Iterable
Iterable
bool
set
not
First
All Upper II
strip
upper
isdigit
bool
or
First
Find Sequence
class
object
raise
itertools.product
product
First
Boolean Algebra
eq
operator.eq
and_
operator.and_
operator.or_
First
Brackets
class
object
pop
except
try
First
Digits Multiplication
not
elif
False
and
True
Scientific Expedition
First
Follow Instructions
lower
list-comp
comprehension
for
First
Conversion from CamelCase
lower
lambda
inline-if
join
list-comp
First
Letter Queue
pop
replace
not
join
in
re.search()
The Hidden Word
splitlines
extend
re.search
search
pass
Using divmod and a dictionary .. and life became easier ;)
Call to Home
setdefault
divmod
values
bool
split
1
probably the unelegant way...
Call to Home
type
tuple
enumerate
break
not
5
First
Time Converter (24h to 12h)
as
datetime.datetime
datetime
inline-if
rotating with zip
Cipher Map
zip
enumerate
join
append
list-comp
maketrans
Striped Words
punctuation
string.punctuation
translate
update
string
2
First
Bird Language
enumerate
lower
join
in
list
list comprehension, str.join
Common Words
sorted
join
if-comprehension
in
list-comp
collections counter / maketrans / operator.itemgetter
The Most Wanted Letter
punctuation
string.punctuation
itemgetter
operator.itemgetter
translate
First
Absolute Sorting
fabs
math.fabs
math
lambda
sorted
First
Secret Message
ascii_uppercase
string.ascii_uppercase
string
in
for
O'Reilly
First
How Deep
max
elif
append
str
for
while
Chunk
typing.Iterable
Iterable
typing
while
append
First
Reverse Every Ascending
continue
enumerate
sorted
append
True
First
Compress List
continue
typing.Iterable
Iterable
typing
append
items.count
Majority
bool
count
False
True
list
deque
Replace Last
collections.deque
deque
collections
list
Counter
Frequency Sorting
collections.Counter
Counter
values
items
collections
First
Remove All After
ValueError
typing.Iterable
Iterable
except
try
datetime
Time Converter (12h to 24h)
endswith
as
datetime.datetime
datetime
inline-if
Recursive
Chunk
typing.Iterable
Iterable
typing
list
else
First
Sort Except Zero
typing.Iterable
Iterable
typing
count
sorted
Replace...
Flatten a List
replace
list-comp
split
comprehension
int
First
Count Inversions
zip
enumerate
break
while
False
hard coded
Xs and Os Referee
union
add
enumerate
set
elif
First
Index Power
elif
len
if
First
Median
sorted
else
int
len
if
Incinerator
OOP State Pattern
Multicolored Lamp
ABCMeta
abc.ABCMeta
abc.abstractmethod
abstractmethod
abc
First
The Warriors
class
super
all
inline-if
while
First
Friends
class
frozenset
raise
isinstance
ValueError
Mine
First
Best Stock
items
max
lambda
10
First
Chess Knight
reversed
f-string
dict-comp
get
add
permutations - brute force
Bigger Together
itertools.permutations
permutations
itertools
List
typing.List
First
Can Balance
enumerate
typing.Iterable
abs
Iterable
typing
First
Caesar Cipher (decryptor)
punctuation
string.punctuation
translate
collections.deque
deque
First
Fizz Buzz
elif
and
else
str
if
textwrap shorten
Cut Sentence
shorten
textwrap.shorten
textwrap
len
if
First
Achilles and the Tortoise
First
Binary Count
bin
count
functools reduce
The Greatest Common Divisor
math.gcd
gcd
functools.reduce
reduce
functools
First
Moore Neighbourhood
itertools.product
product
itertools
remove
list
Ice Base
Reduced recursion depth by brute force for common factor
Making Change
min
None
max
or
inline-if
3
First
Largest Rectangle in a Histogram
enumerate
elif
False
True
for
10
First
Find Quotes
clear
continue
join
False
append
First
Clock Angle
dict
abs
not
inline-if
split
First
Morse Encoder
f-string
strip
lower
lambda
inline-if
First
Counting Tiles
math.ceil
ceil
math
continue
elif
regex
Long Repeat
finditer
re.finditer
ascii_lowercase
string.ascii_lowercase
f-string
depth first search
How to Find Friends
collections.defaultdict
defaultdict
extend
add
collections
First
Monkey Typing
lower
if-comprehension
in
list-comp
comprehension
First
Roman Numerals
items
sort
lambda
elif
True
First
The Most Numbers
round
min
max
not
else
Alice In Wonderland
First
Multiplication Table
bin
enumerate
sum
append
list-comp
First
IP Network: Route Summarization
format
break
not
join
append
First
Digits Doublets
class
isinstance
extend
add
zip
Second
Multiplication Table
bin
enumerate
sum
list-comp
comprehension
zip comprehension ;)
Transposed Matrix
zip
list-comp
list
comprehension
GitHub
First
Expand Intervals
typing.Iterable
Iterable
typing
append
range
13
First
The Most Frequent Weekdays
collections.defaultdict
defaultdict
datetime.timedelta
timedelta
yield
18
Breadth-first search
Power Supply
class
setdefault
isinstance
keys
add
1
First
Painting Wall
class
enumerate
max
not
lambda
Breadth-First
Open Labyrinth
class
object
collections.deque
deque
reversed
1
Shoelace formula
Area of a Convex Polygon
abs
range
len
for
First
Solution for Anything
class
dict
True
First
The End of Other
enumerate
False
True
len
for
Dropbox
numpy
Three Points Circle
numpy.linalg
linalg
class
math.pow
numpy.array
10
getattr
Simple Hashlib
getattr
hashlib
double loop and list comprehension
The Longest Palindromic
max
if-comprehension
elif
False
append
1
First
Humpty Dumpty Form
asinh
math.asinh
math.asin
asin
math.pi
recursive
Speech Module
divmod
inline-if
elif
else
if
PyCon TW
First
Calculate Islands
class
clear
extend
remove
not
class
Digit Stack
class
getattr
raise
isinstance
ValueError
regex
House Password
match
re.match
r-string
re
bool
1
Storage
First
Saw the Stick
enumerate
sum
while
append
range
First
Weak Point
zip
index
min
sum
list-comp
generator
Skew-symmetric Matrix
all
enumerate
comprehension
HubSpot
recursive
Restricted Sum
else
len
if
First
The Hamming Distance
bin
max
or
sum
while
Blizzard
generator
Unlucky Days
datetime.timedelta
timedelta
yield
date
datetime.date
First
Stressful Subject
collections.fromkeys
OrderedDict
collections.OrderedDict
fromkeys
punctuation
using collections.deque.rotation, sorted
The Angles of a Triangle
math.pow
collections.deque
deque
pow
math.degrees
Viel neues gelernt ;)
Min and Max
Exception
raise
is
get
None
First
Weekend Counter
datetime.timedelta
timedelta
datetime
in
and
Rock
Decimal
Super Root
with
float
while
else
if
1
Shelter
First
AMSCO Cipher
enumerate
index
break
not
sorted
2
First
The Nearest Square Number
math.sqrt
sqrt
round
math
Codeship
numpy polynomial coefficients
Probably Dice
numpy.polynomial.polynomial.polypow
polypow
numpy.ones
ones
numpy
4
First
Pearls in the Box
raise
isinstance
ValueError
round
count
Hermit
First
Count Consecutive Summers
clear
sum
while
and
append
Watchtower
First
Compare Functions
finally
is
None
except
try
deque
Rotate Hole
collections.deque
deque
collections
set
inline-if