18
tvylormvde
4 16 33
1747/ 1945
Last seen 2 months ago
Member for 3 years, 8 months, 29 days
Difficulty Normal
Missions (125) / Solutions (91)
Best solutions / Newest solutions
Initiation
First
Nearest Value
min
abs
set
lambda
sorted
1
First
Backward String
str
16
First
Sum Numbers
filter
map
isdigit
lambda
sum
First
All the Same
Any
typing.Any
collections.Counter
Counter
collections
First
Max Digit
max
list-comp
comprehension
int
str
2
First
Count Digits
isdigit
sum
if-comprehension
list-comp
comprehension
First
Beginning Zeros
lstrip
int
str
len
First
Split Pairs
append
range
len
for
if
First
Replace First
collections.deque
deque
collections
typing.Iterable
Iterable
First
Correct Sentence
endswith
islower
upper
not
str
1
Home
First
Bigger Price
lambda
sorted
True
list
int
18
1
First
Morse Decoder
capitalize
re.sub
sub
get
re
19
1
First
Backward Each Word
re.split
re
not
join
split
First
Popular Words
dict
items
lower
lambda
sorted
1
First
First Word
re.sub
sub
all
isalpha
re
1
First
Second Index
enumerate
None
if-comprehension
list-comp
comprehension
First
Date and Time Converter
datetime.strptime
strptime
datetime.datetime
datetime
inline-if
First
Sort Array by Element Frequency
sorted
append
True
range
for
using datetime
Sun Angle
datetime.strptime
strptime
datetime.datetime
datetime
if
First
Between Markers
escape
re.escape
is
findall
re.findall
First
Non-unique Elements
count
if-comprehension
list-comp
list
comprehension
1
First
Three Words
groupby
itertools.groupby
all
itertools
isalpha
First
Even the Last
sum
and
append
range
list
1
Electronic Station
re.match
Unix Match. Part 1
match
re.match
re
None
replace
10
using any(), all()
Acceptable Password III
all
any
isdigit
bool
not
class Triangle, lots of math
Similar Triangles
class
TypeError
math.pow
raise
pow
clear solution
Surjection Strings
zip
set
False
len
if
any() & len() functions
Acceptable Password II
any
isdigit
bool
False
and
filter, assignment expressions (:= operator)
Digits Multiplication
filter
lambda
list-comp
list
comprehension
nothing special
Acceptable Password VI
all
any
isdigit
bool
not
using indexes
Words Order
index
bool
set
or
sorted
simple while loop
Ascending List
typing.Iterable
Iterable
bool
typing
while
Scientific Expedition
using re module to find a dictionary pattern in the text
YAML. Simple Dict
findall
re.findall
dict-comp
r-string
items
7
regular expressions!
YAML. More Types
re.sub
sub
findall
re.findall
dict-comp
8
re module
Conversion into CamelCase
findall
re.findall
upper
re
replace
collections.Counter
The Most Wanted Letter
collections.Counter
Counter
collections
isalpha
lower
using regexps (re.findall())
Caps Lock
findall
re.findall
r-string
upper
re
one line solution
Secret Message
isupper
join
if-comprehension
list-comp
comprehension
using str.index(), slicing + all() function
Goes Right After
all
index
bool
in
False
First
Conversion from CamelCase
f-string
isupper
lower
inline-if
join
using re module
Bird Language
rf-string
re.sub
sub
ascii_lowercase
string.ascii_lowercase
1
datetime
Time Converter (24h to 12h)
datetime.strptime
strptime
datetime.datetime
datetime
replace
using set comprehension
Pangram
set-comp
isalpha
lower
if-comprehension
False
First
Absolute Sorting
tuple
abs
lambda
sorted
list
1
First
Common Words
sorted
join
if-comprehension
list-comp
split
O'Reilly
itertools.groupby
Compress List
groupby
itertools.groupby
itertools
typing.Iterable
Iterable
15
using collections.Counter
Frequency Sorting
collections.Counter
Counter
collections
lambda
sorted
using try-except block
Remove All After
ValueError
index
typing.Iterable
Iterable
except
clear solution (not sure if this can be shortened - any ideas?)
Lightbulb Start Watching
None
while
False
True
else
using recursion
Flatten a List
isinstance
extend
not
append
list
1
using statistics.median
Median of Three
statistics.median
statistics
median
typing.Iterable
Iterable
1
First
Sort Except Zero
insert
enumerate
typing.Iterable
Iterable
typing
First
The Flat Dictionary
update
isinstance
f-string
dict-comp
dict
simple, clear solution
Lightbulb Intro
datetime.datetime
datetime
List
typing.List
typing
using collections.deque
Replace Last
collections.deque
deque
collections
pop
typing.Iterable
2
statistics module
Median
statistics.median
statistics
median
float
List
filter
Majority
filter
bool
not
lambda
or
using lambda
Index Power
lambda
inline-if
list
int
len
1
Incinerator
ABC
Geometry Figures
ABC
abc.ABC
abc.abstractmethod
abstractmethod
abc
20
pretty straighforward solution I guess :)
Every Person is Unique
class
datetime.strptime
strptime
as
f-string
1
Clear
The Lancers
class
property
super
decorator
isinstance
Clear solution
The Vampires
class
property
super
decorator
isinstance
Clear solution
The Defenders
class
property
super
decorator
extend
Clear solution
Army Battles
class
property
super
decorator
extend
2
Mine
reduce() and gcd()
The Greatest Common Divisor
math.gcd
gcd
functools.reduce
reduce
functools
17
1
max()
Best Stock
get
dict
max
str
nothing special
Caesar Cipher (encryptor)
continue
index
else
len
for
bin() + count()
Binary Count
bin
count
int
str
Ice Base
re.findall()
Find Quotes
findall
re.findall
re
replace
list-comp
Clear
Morse Encoder
rstrip
get
lower
split
for
re.finditer()
Long Repeat
finditer
re.finditer
r-string
re
sorted
sort()
The Most Numbers
float
sort
list-comp
comprehension
len
1
Alice In Wonderland
really contrived solution haha
IP Network: Route Summarization
format
break
sorted
join
append
clear
Zigzag Array
enumerate
elif
append
list-comp
range
1
eeeasy
Middle Characters
len
if
GitHub
using np.diff and np.split
Merge Intervals
numpy.split
diff
numpy.diff
numpy
update
1
numpy
Create Intervals
numpy.split
diff
numpy.diff
numpy
as
3
string.split()
Cookies
strip
dict
split
comprehension
First
Expand Intervals
update
typing.Iterable
Iterable
set
typing
1
using list.copy() and endswith()
The End of Other
copy
endswith
remove
False
True
Dropbox
getattr(hashlib, algorithm)
Simple Hashlib
bytes
getattr
hashlib
None
in
8
[Clear solution] string == string[::-1] & max()
The Longest Palindromic
max
append
range
len
for
word:value dict & max() func
Worth of Words
get
max
sum
list-comp
comprehension
PyCon TW
dict with grades and ranges
Ryerson Letter Grade
splitlines
rstrip
strip
items
in
groupby
Sum Consecutives
groupby
itertools.groupby
itertools
sum
list-comp
math math math...
Simple Areas
math.pow
pow
math.pi
pi
math.sqrt
append & pop
Digit Stack
pop
in
elif
append
split
long but works
House Password
ascii_letters
string.ascii_letters
digits
string.digits
string
Blizzard
First
The First Working Day
datetime.strptime
strptime
datetime.timedelta
timedelta
datetime.datetime
difflib.ndiff
String Conversion
difflib.ndiff
ndiff
difflib
count
if-comprehension
math.degrees(), math.acos()
The Angles of a Triangle
math.degrees
degrees
math.acos
acos
round