12
Patrick_Devaney
3 8 26
734/ 745
Patrick Devaney
Last seen 6 months ago
Member for 6 years, 7 months, 13 days
Difficulty Normal
Missions (76) / Solutions (49)
Best solutions / Newest solutions
Initiation
Max freq
The Most Frequent
index
set
max
count
list-comp
1
List addition
Split Pairs
while
append
else
len
if
return num % 2 == 0
Is Even
bool
int
While loop mod 10
End Zeros
max
while
append
else
str
Home
count occurrences
Non-unique Elements
count
if-comprehension
list-comp
range
comprehension
try except
Second Index
None
except
try
if-comprehension
list-comp
Lil sorted list
Bigger Price
lambda
sorted
text.lower().split().count(x)
Popular Words
dict-comp
dict
lower
count
split
angle sum
Sun Angle
sum
else
int
if
sorting sorting sorting
Sort Array by Element Frequency
index
lambda
count
sorted
True
Safe
Pawn Brotherhood
index
count
or
False
and
easy peasy
Right to Left
replace
join
return len(consecutive) > 0
Three Words
isnumeric
bool
if-comprehension
False
list-comp
Electronic Station
(or and) and
Acceptable Password V
digits
string.digits
string
lower
or
8
1
wall following algorithm
Can You Pass?
index
or
while
elif
False
13
((or and) and) and
Acceptable Password VI
digits
string.digits
string
lower
or
text.upper() == text
All Upper II
digits
string.digits
string
upper
or
0 < len(digits) < len(password)
Acceptable Password III
digits
string.digits
string
bool
if-comprehension
if x in string.digits
Acceptable Password II
digits
string.digits
string
if-comprehension
in
or and
Acceptable Password IV
digits
string.digits
string
bool
or
if items[x+1] > items[x]
Ascending List
count
or
if-comprehension
list-comp
range
jesus christ that was difficult
Can You Pass?
count
or
while
elif
False
elif operation ==
Boolean Algebra
not
or
elif
True
else
for loops
Digits Multiplication
append
int
str
for
if
Scientific Expedition
try except
Goes Right After
index
bool
except
try
False
x if x>=0 else -x
Absolute Sorting
tuple
lambda
inline-if
sorted
list
long winded?
The Most Wanted Letter
punctuation
string.punctuation
digits
string.digits
string
O'Reilly
x for x in structure if type(x) == tuple
How Deep
type
tuple
or
while
if-comprehension
20
nested list comprehension
Reverse Every Ascending
if-comprehension
list-comp
range
comprehension
len
return [x[0] for x in split]
Compress List
except
try
if-comprehension
list-comp
range
replace non-zeros
Sort Except Zero
count
sorted
if-comprehension
list-comp
range
tuple comparison
Frequency Sorting
lambda
count
sorted
if border in items else items
Remove All After
index
inline-if
in
dt.strptime(time, '%I:%M %p')
Time Converter (12h to 24h)
datetime.strftime
strftime
datetime.strptime
strptime
as
slicey
Replace Last
items.count(True) > items.count(False)
Majority
count
False
True
if else
Index Power
inline-if
len
if len(data)//2 != len(data)/2
Median
inline-if
sorted
len
Ice Base
opening and closing indexes
Find Quotes
startswith
except
try
if-comprehension
append
GitHub
Dijkstra first attempt
The Cheapest Flight
values
dict-comp
float
items
remove
for loop, break if 1 in x
The Highest Building
index
break
in
len
for
starts and stops
Create Intervals
sorted
if-comprehension
list-comp
range
comprehension
if x[-len(y):] == y: suffix.append("yes")
The End of Other
pass
elif
append
len
for
Blizzard
First
Stressful Subject
upper
isalpha
lower
or
if-comprehension
Escher
First
The Ship Teams
keys
or
sorted
if-comprehension
list-comp
30 to 50 feral dogs
Wild Dogs
math.inf
inf
math.sqrt
sqrt
round
def distance(p):
Compass, Map and Spyglass
index
min
abs
in
True
sorted dictionary
The Stone Wall
splitlines
dict-comp
items
lambda
sorted
plan.splitlines()
Ground for the House
splitlines
except
try
sorted
if-comprehension