22
DahliaSR
7 23 46
2682/ 2945
Dahlia Ramm
Last seen 1 year ago
Member for 8 years, 19 days
Difficulty Normal
Missions (112) / Solutions (81)
Best solutions / Newest solutions
Initiation
strip and diff
Beginning Zeros
lstrip
int
str
len
1
First
Max Digit
max
int
str
1
The Counters Most Common
The Most Frequent
collections.Counter
Counter
collections
Two's Complement & 1
Is Even
bool
int
sting partioning
Between Markers (simplified)
partition
str
Wal Rus Stripper :D
End Zeros
rstrip
int
str
len
First
Backward String
str
2
regexed
Acceptable Password I
VERBOSE
re.VERBOSE
re.compile
compile
r-string
Reduced
Count Digits
functools.reduce
reduce
functools
isdigit
lambda
First
Correct Sentence
upper
inline-if
join
str
One λiner
All Upper I
any
isupper
isalpha
lambda
inline-if
Read the Docs carefully!
Split Pairs
itertools.zip_longest
zip_longest
iter
itertools
None
Just Quick!
Number Length
lambda
str
2
Drop it like its...
Remove All Before
dropwhile
itertools.dropwhile
itertools
typing.Iterable
Iterable
Regular Expression
First Word (simplified)
re.search
search
r-string
re
str
Home
Drop and Take
First Word
dropwhile
itertools.dropwhile
itertools.takewhile
takewhile
as
5
First
Duplicate Zeros
yield
list
else
for
if
5
Fast and clear
Missing Number
IndexError
sort
except
try
elif
6
Fastest and simplest approach I found
Missing Number
float
min
max
sum
list
8
Join it!
Right to Left
replace
lambda
join
3
Regular Expression
First Word
X
re.X
re.search
search
r-string
3
Using sorting stability.
Sort Array by Element Frequency
index
count
sorted
True
1
First
Morse Decoder
capitalize
replace
join
split
comprehension
re.sub
Backward Each Word
reversed
re.sub
sub
r-string
re
Flexible
Sun Angle
split
comprehension
int
str
if
First
Three Words
enumerate
isalpha
break
False
True
2
First
Days Between
date
datetime.date
datetime
abs
First
Even the Last
range
len
for
if
First
Non-unique Elements
continue
count
append
for
if
Electronic Station
First
Verify Anagrams
replace
lower
sorted
Regexed
Acceptable Password III
VERBOSE
re.VERBOSE
re.compile
compile
r-string
Regexed
Acceptable Password II
VERBOSE
re.VERBOSE
re.compile
compile
r-string
First
Boolean Algebra
not
or
and
if
1
Reduce, Lambda and a Generator
Digits Multiplication
functools.reduce
reduce
functools
lambda
if-comprehension
Scientific Expedition
First
Convert and Aggregate
setdefault
dict-comp
dict
items
tuple
1
Simple and fast!
Call to Home
max
lambda
split
else
int
1
First
Striped Words
translate
re.compile
compile
ascii_lowercase
string.ascii_lowercase
First
The Most Wanted Letter
collections.Counter
Counter
findall
re.findall
r-string
2
First
Secret Message
isupper
join
if-comprehension
comprehension
Using built-in Funstion all()
Pangram
ascii_lowercase
string.ascii_lowercase
string
all
lower
Two regular expressions and a translation table
Striped Words
VERBOSE
re.VERBOSE
translate
re.compile
compile
3
Using a Key Function
Absolute Sorting
abs
lambda
sorted
Quick One Liner
Common Words
sorted
join
if-comprehension
in
split
O'Reilly
Simple Generator
Compress List
StopIteration
iter
next
yield
typing.Iterable
First
Index Power
len
if
3
Smart One Liner
Median
as
First
Median
sort
len
if
Incinerator
First
3 Chefs
ABC
abc.ABC
abc
class
f-string
1
Mine
Set the Default and Add
Switch Keys to Values
setdefault
add
dict
items
set
get
Best Stock
get
max
TRY the f-string!
Cut Sentence
rindex
f-string
ValueError
except
try
3
reusing the encryptor fucntion
Caesar Cipher (decryptor)
translate
ascii_lowercase
string.ascii_lowercase
as
string
String translation supported by slicing
Caesar Cipher (encryptor)
translate
ascii_lowercase
string.ascii_lowercase
as
string
1
First
Binary Count
bin
lambda
count
My 1st Solution - Py3.3
Fizz Buzz
elif
else
str
if
Ice Base
Dimension by Dimension
Interesting, intersecting
tuple
min
bool
max
and
Simple dynamic programming
Making Change
None
inline-if
range
for
if
re.finditer
Long Repeat
finditer
re.finditer
r-string
re
max
1
So Simple!
Roman Numerals
divmod
for
Sort and Unpack
The Most Numbers
sorted
len
if
Alice In Wonderland
First
Transposed Matrix
lambda
list-comp
range
comprehension
len
GitHub
Shoelace Formula
Area of a Convex Polygon
raise
ValueError
format
enumerate
abs
Let Python do the hard work!
The End of Other
itertools.permutations
permutations
endswith
any
itertools
Dropbox
f-stringed
Speech Module
divmod
update
f-string
get
dict
PyCon TW
List of Lambdas
Simple Areas
math.pi
pi
math
lambda
len
First
House Password
match
re.match
re
False
True
HubSpot
Find Iter
Non Empty Lines
re.compile
compile
r-string
re
sum
1
Simple Recursion
Restricted Sum
pop
not
inline-if
XOR Quicky
The Hamming Distance
bin
lambda
count
Blizzard
First
Weekend Counter
elif
if
Do not repeat yourself and do not use sort!
Min and Max
gt
operator.gt
lt
operator.lt
operator
1
Rock
A Bit Wise?
Parity Bit Generator
chr
format
not
count
join
Shelter
Less Less Looping
Ghosts Age
while
if
3
First
Ghosts Age
pop
while
append
else
if
1
Watchtower
Bitwise Only
Funny Addition
while
1
Escher
Cell Enumeration - time compexity => O(n), memory complexity ==> O(1)
Ground for the House
divmod
float
enumerate
index
not
9
An enumerated chainand a cache
Compass, Map and Spyglass
chain
itertools.chain
divmod
is
itertools
1
Generators and a key-function
The Stone Wall
zip
enumerate
min
lambda
count
Bool to Int
The Ship Teams
items
sort
lambda
append
for
2
Not On Map
Functions are objects too.
Length of the String
len
1