11
Alanwatts42
1 9 23
538/ 645
Evan Sherwood
Last seen 4 months ago
Member for 4 years, 5 months
Difficulty Normal
Missions (49) / Solutions (40)
Best solutions / Newest solutions
Initiation
Wow that took all of about 10 seconds
Acceptable Password I
bool
False
True
else
str
15
I wish I had more hands... So I could give those titties.. four thumbs down!
First Word (simplified)
split
str
If you want to find out what's between, have the string strip and then do the splits, and that should make it easily visible
Between Markers (simplified)
split
str
"GreetinGs, friends.." "Welcome to NeW York.."
Correct Sentence
capitalize
replace
str
if
Home
I struggled for longer than I'd like to admit because I forgot the letter "h"
Pawn Brotherhood
set-comp
find
set
or
if-comprehension
18
Go unscrew yourself
Right to Left
replace
join
18
First
Non-unique Elements
set-comp
collections.Counter
Counter
items
collections
Guide my pimp hand and keep it strong lord!
First Word
findall
re.findall
r-string
re
str
Isn't it annoying when you finish typing a string and you're forced to count the number of times you used a word like a DINOSAUR? Stop the presses, because those days are over
Popular Words
dict-comp
keys
dict
lower
split
1
Sum the even numbered indices from an array, then multiply that sum by the last element of that same array, unless the array was an empty list, in which case nevermind all that and return 0.
Even the Last
else
int
for
if
I only hope that what it lacks in efficiency, it makes up for in originality.
Sort Array by Element Frequency
itertools.repeat
repeat
collections.Counter
Counter
values
suck my bools
Three Words
continue
isalpha
bool
while
elif
if I keep struggling on this elif I'm very very tired elif my brain isn't here today please call back later else I'm not a smart man
Between Markers
index
in
elif
split
else
1
Never has something so easy been so damn difficult
Second Index
ValueError
index
None
except
try
Getting an item with itemgetter, a very complex and sophisticated process
Bigger Price
itemgetter
operator.itemgetter
operator
sorted
True
1
Electronic Station
"I'm sorry officer.... I didn't know I couldn't do that"
Digits Multiplication
if-comprehension
list-comp
comprehension
int
str
13
Very strict password requirements, unless your password is over 9 characters, then it's whatever
Acceptable Password V
any
find
isalpha
isdigit
bool
20
1
I'm altering the deal... Pray I don't alter it further.
Sort by Extension
rsplit
itemgetter
operator.itemgetter
operator
List
1
BEHOLD... WHAT A USEFUL PROGRAM!! DON'T PRETEND YOU'RE NOT IMPRESSED
Words Order
enumerate
bool
if-comprehension
in
False
1
I shall call it: "Title"
Find Sequence
diagonal
numpy.diagonal
fliplr
numpy.fliplr
numpy
1
First
Acceptable Password III
any
isalpha
isdigit
bool
not
Am I the only one who was nearly confused to death by this one? By the way ISOMORPHIC not ISOMETRIC
Surjection Strings
zip
set
print
False
True
First
Acceptable Password VI
as
collections.Counter
Counter
any
collections
Your password is bad and you should feel bad
Acceptable Password IV
any
isalpha
isdigit
bool
not
FIRST.isupper()
All Upper II
isupper
bool
str
Your password is bad and you should feel bad
Acceptable Password II
any
isdigit
bool
not
False
Intoleriterable
Ascending List
enumerate
typing.Iterable
Iterable
bool
typing
Scientific Expedition
Sometimes the shortest distance between two points is a meandering spiral
Bird Language
is
zip
map
isalpha
not
First
Time Converter (24h to 12h)
datetime.strptime
strptime
datetime.datetime
ValueError
datetime
First - from collections import Counter
The Most Wanted Letter
collections.Counter
Counter
collections
isalpha
lower
1
O'Reilly
Occam's facial hair
Xs and Os Referee
List
typing.List
typing
elif
and
This one was a bit more difficult than it had any right to be, my solution is proportionally strange.
Flatten a List
isinstance
tuple
enumerate
while
and
There's no way this will w- huh, well alrighty then. All in a day's work.
Median
statistics.median
statistics
median
float
List
Incinerator
Haduuuken! Haduuuken! ShhhOOOOORYUKEN!!
The Warriors
class
property
super
decorator
is
1
Mine
Buy, buy, SELL, SELL, SELL!
Best Stock
popitem
OrderedDict
collections.OrderedDict
items
collections
Ice Base
Cool Hwip!
The Most Numbers
typing.Sequence
Sequence
ValueError
float
min
Dropbox
"If you're looking for trouble you've found it"
Speech Module
elif
int
str
if
1
PyCon TW
re:hash
House Password
re.compile
compile
r-string
re
None
First
House Password
re.compile
compile
r-string
re
None
Hermit
Summers?
Count Consecutive Summers
while
int
if