10
jrebane
1 11 24
474/ 545
Last seen 6 years ago
Member for 9 years, 4 days
Difficulty Normal
Missions (36) / Solutions (34)
Best solutions / Newest solutions
Home
Single line solution
Days Between
date
datetime.date
datetime
abs
Basic solution - nothing fancy
Non-unique Elements
copy
remove
set
count
for
1
List Comprehension And Try/Except
Even the Last
except
try
sum
if-comprehension
list-comp
3
List comp with digit checking function
Three Words
any
IndexError
isdigit
except
try
1
One liner join and replace
Right to Left
replace
join
comprehension
Electronic Station
Almost one-liner?
Verify Anagrams
lower
sorted
join
split
Two lines & recursive
Digits Multiplication
inline-if
join
if-comprehension
comprehension
int
2
Scientific Expedition
from my_heart import Ode_to_Python
I Love Python!
this
is
except
try
False
16
1
Using Counter and itemgetter
The Most Wanted Letter
ascii_letters
string.ascii_letters
itemgetter
operator.itemgetter
operator
2
Single line checker
Pangram
ascii_lowercase
string.ascii_lowercase
string
lower
if-comprehension
1
Gets the job done?
Morse Clock
get
format
map
enumerate
lambda
One function wonder
Absolute Sorting
abs
sorted
2
Possible to make this shorter? =S
Common Words
sort
set
join
split
list
1
One-liner list comprehension w/ "".join
Secret Message
isupper
join
if-comprehension
list-comp
comprehension
1
O'Reilly
Recursive merge count O(n log n)
Count Inversions
while
and
list
else
len
1
Combos and Sets
Xs and Os Referee
set
list-comp
list
comprehension
len
Clear one liner
Index Power
inline-if
len
Sort, measure, index, median!
Median
sorted
else
len
if
Incinerator
All your base are built!
Building Base
class
mul
operator.mul
operator
functools.reduce
1
Frozen Sets and Friends
Friends
class
KeyError
frozenset
union
update
Mine
Defining boundaries and looping
Moore Neighbourhood
inline-if
range
len
for
if
One-liner solution
Binary Count
format
map
sum
list
int
Fizzy Buzzy
Fizz Buzz
inline-if
elif
False
and
else
Ice Base
Quick and easy
The Most Numbers
min
except
try
max
1
One liner list comprehension
Monkey Typing
lower
sum
if-comprehension
in
list-comp
3
Alice In Wonderland
'Zip'-itty one line!
Transposed Matrix
zip
list-comp
list
comprehension
GitHub
Truth with class
Solution for Anything
class
True
Set intersections for the win
The End of Other
set-comp
if-comprehension
False
True
range
1
Dropbox
Recursive Counting
Speech Module
strip
format
map
elif
list
18
PyCon TW
Longer, but hopefully semi-clear
Digit Stack
IndexError
pop
except
try
sum
Condition by condition we travel
House Password
ascii_letters
string.ascii_letters
digits
string.digits
ascii_uppercase
2
HubSpot
Try, except, solve!
Number Base
ValueError
except
try
int
Blizzard
Technically a one-liner, maybe?
Weekend Counter
datetime.timedelta
timedelta
datetime
sum
if-comprehension
Math class with comments!
The Angles of a Triangle
math.degrees
degrees
math.acos
acos
round