40
suic
16 39 57
9963/ 10664
Last seen 9 hours ago
Member for 9 years, 10 months, 7 days
Difficulty Advanced
Missions (283) / Solutions (342)
Best solutions / Newest solutions
Initiation
One-liner variation
Non-unique Elements
filter
lambda
count
list
1
17
Solved with iter()
Flatten a List (generator version)
iter
eval
f-string
replace
lambda
1
Shorter one-liner
Time Converter (12h to 24h)
upper
replace
lambda
4
2
One-liner
Time Converter (12h to 24h)
upper
replace
lambda
8
One-liner
Split Pairs
iter
map
lambda
join
list
13
One-liner variation shortened
Non-unique Elements
lambda
count
if-comprehension
list-comp
comprehension
19
1
One-liner
Flatten a List
eval
lambda
str
1
One-liner
All the Same
all
zip
not
lambda
or
First
Roman Numerals
zfill
join
elif
list-comp
comprehension
2
Syaopin's modified
Roman Numerals
zfill
enumerate
join
comprehension
str
First
Pawn Brotherhood
ord
continue
in
list-comp
comprehension
One-liner
Non-unique Elements
lambda
count
if-comprehension
list-comp
comprehension
3
With import
Multiply (Intro)
as
Inspired by AQiccl135's solution
Roman Numerals
enumerate
join
list-comp
comprehension
3
One-liner
Multiply (Intro)
int
1
Simple
Between Markers
find
inline-if
str
len
Using set
All the Same
set
lambda
len
Arandomusername's refactored
Roman Numerals
zip
join
append
for
What's wrong?
Non-unique Elements
count
append
for
if
1
Home
One-liner
Conversion into CamelCase
title
upper
lambda
1
Revisited KvaNTy's Straight and primitive
Xs and Os Referee
StopIteration
next
set-comp
filter
except
5
1
Simple
Atbash Cipher
translate
ascii_uppercase
string.ascii_uppercase
ascii_lowercase
string.ascii_lowercase
First
Open Labyrinth
Exception
raise
next
map
enumerate
1
Minutes to degrees
Sun Angle
reversed
round
map
enumerate
sum
First
Bird Language
continue
replace
not
join
in
Simple
Split List
math.ceil
ceil
math
list
len
Simple
Time Converter (24h to 12h)
divmod
map
or
split
int
1
Simple
Beginning Zeros
break
else
int
str
for
Using stack
Brackets
pop
index
not
in
elif
Clear
Xs and Os Referee
pop
set
inline-if
in
and
1
Leolo's shortened
Brackets
filter
any
replace
bool
not
Third
Brackets
pop
index
not
or
in
1
Electronic Station
One-liner
Unix Match. Part 1
replace
bool
lambda
1
1
Functional (?)
Similar Triangles
operator.truediv
truediv
operator.sub
itertools.starmap
starmap
3
1
heap with negative numbers
The Final Stone
heapify
heapq.heapify
heappush
heapq.heappush
heappop
5
One-liner variation
Digits Multiplication
filter
map
lambda
False
int
8
2
Py2.7 one-liner using cmp()
Verify Anagrams
replace
not
lower
lambda
sorted
8
One-liner
Conversion from CamelCase
lower
lambda
join
9
One-liner
Verify Anagrams
strip
map
lower
lambda
sorted
jtrip's on one line
Verify Anagrams
upper
replace
lambda
sorted
list
Custom key
Sort by Extension
startswith
endswith
List
typing.List
not
Recycled code
Inside Block
all
enumerate
set
not
or
First
Can You Pass?
complex
remove
pop
abs
while
First
Verify Anagrams
strip
lower
lambda
sorted
join
4
One-liner
Digits Multiplication
map
replace
lambda
int
str
2
Simple
Acceptable Password IV
re.compile
compile
re
isdigit
bool
First
Boolean Algebra
lambda
or
and
Simple
Acceptable Password III
re.compile
compile
re
isdigit
bool
Simple
Acceptable Password II
re.compile
compile
re
bool
and
Simple
Surjection Strings
zip
elif
False
True
len
1
First
Digits Multiplication
replace
int
str
for
Simple
Acceptable Password I
bool
str
len
First Try
Find Sequence
any
map
sum
join
if-comprehension
Souzooka's Recursive Solution Shortened
Digits Multiplication
not
or
join
int
str
1
Scientific Expedition
One-liner
Remove Accents
lambda
or
5
8
One-liner (py2.7)
Secret Message
filter
isupper
lambda
list
str
10
2
One-liner
Follow Instructions
get
map
lambda
11
1
One-liner
Secret Message
isupper
lambda
join
if-comprehension
list-comp
20
4
Simple
Caps Lock
upper
not
inline-if
join
False
2
Simple
Aggregate by Operation
raise
f-string
dict-comp
ValueError
dict
Using string formatting
Morse Clock
bin
tuple
replace
list-comp
split
One-liner with magic number
Pangram
filter
islower
set
lower
lambda
4
Simple
YAML. More Types
rstrip
strip
continue
None
replace
1
Simple
Letter Queue
not
elif
split
len
for
First
Remove Accents
normalize
unicodedata.normalize
unicodedata
if
Simple
YAML. Simple Dict
strip
continue
isdigit
not
split
Shorter and less readable :)
Morse Clock
zfill
iter
bin
zip
replace
2
First
Cipher Map
zip
join
if-comprehension
list-comp
range
First
The Hidden Word
ljust
enumerate
index
replace
max
First
Call to Home
values
inline-if
sum
in
list-comp
Simple
Sum by Type
isinstance
sum
join
append
else
Using deque
Letter Queue
collections.deque
deque
collections
join
elif
1
Easy
Absolute Sorting
abs
sorted
Even shorter with filter
Secret Message
filter
isupper
lambda
join
str
Shorter
Common Words
set
lambda
sorted
join
split
1
One-liner
Common Words
set
sorted
join
split
First
Striped Words
upper
isalpha
break
replace
or
2
O'Reilly
First
Lightbulb Intro
iter
datetime.datetime
datetime
List
typing.List
1
1
Walrus :)
Lightbulb End Watching
itertools.zip_longest
zip_longest
Optional
typing.Optional
iter
1
1
reCountereval
Chemical Analysis
eval
rstrip
re.sub
sub
collections.Counter
1
Counter-Strike
Frequency Sorting
collections.Counter
Counter
collections
lambda
sorted
2
6
Walrus :)
Lightbulb Start Watching
Optional
typing.Optional
iter
datetime.datetime
datetime
2
1
One-liner
Index Power
lambda
inline-if
len
7
1
One-liner variation
Count Inversions
enumerate
lambda
sum
comprehension
8
4
One-liner
Majority
lambda
sum
len
9
1
Simple recursion
How Deep
isinstance
tuple
max
for
if
14
One-liner
Compress List
lambda
list-comp
comprehension
14
Sum sum :)
Count Inversions
index
lambda
sum
comprehension
15
Dequegeneration :D
Chunk
collections.deque
deque
yield
collections
IndexError
17
First
Median of Three
statistics.median
statistics
StopIteration
median
iter
Tarasenkoa's as one-liner
Count Inversions
lambda
sum
range
comprehension
len
Simple
Reverse Every Ascending
reversed
extend
is
None
or
Variation on paolo.brasolin's theme :)
Median
4
First
Count Inversions
while
range
len
for
if
After refactoring
Count Inversions
sum
list-comp
range
comprehension
len
First
Sort Except Zero
zip
enumerate
typing.Iterable
Iterable
typing
Simple
Replace Last
collections.deque
deque
collections
typing.Iterable
Iterable
From Python Standard Library :)
Median
as
Simple
Remove All After
typing.Iterable
Iterable
break
typing
append
1
First
Median
sorted
else
int
len
if
3
First
Loading Cargo
combinations
itertools.combinations
itertools
min
abs
Incinerator
EAFP - IndexError
Army Battles
class
property
super
reversed
decorator
1
Could be DRYer
Voice TV Control
class
super
None
in
list
1
2
re-format
Hacker Language
class
re.sub
sub
chr
format
1
3
Boolean Fight :)
The Warriors
class
property
super
decorator
isinstance
3
1
Having fun with Tinus_Trotyl's solution :)
Friends
class
from_iterable
itertools.from_iterable
frozenset
chain
6
1
First
Capital City
class
is
None
if
7
First
Dialogues
itertools.starmap
starmap
class
staticmethod
re.sub
7
f-strings
Every Person is Unique
class
f-string
replace
split
int
9
Straightforward
Party Invitations
class
remove
None
not
or
Simple
Geometry Figures
class
staticmethod
math.pi
pi
decorator
First
The Defenders
class
property
super
reversed
decorator
1
First
Building Base
class
First
Text Editor
class
property
decorator
format
join
First
Friends
class
add
remove
set
in
5
Simple
3 Chefs
class
title
None
Simple
Multicolored Lamp
class
is
None
len
if
Mine
One-liner
Best Stock
items
max
lambda
comprehension
2
2
Simple
Caesar Cipher (decryptor)
translate
collections.deque
deque
ascii_lowercase
string.ascii_lowercase
5
Shortened
Moore Neighbourhood
all
any
sum
if-comprehension
and
8
Simple
Sort Sorted Groups
is
None
sum
sorted
elif
8
mxmaslin's Two lines made one-liner
Caesar Cipher (encryptor)
chr
ord
lambda
or
join
9
2
Third
Bigger Together
itertools.permutations
permutations
filter
itertools
map
9
One-liner
The Greatest Common Divisor
lambda
10
First
One Switch Strings
collections.Counter
Counter
collections
zip
bool
18
1
Using Leibniz Formula
Determinant
mul
operator.mul
itertools.permutations
permutations
operator
19
LeFree's shortened
Moore Neighbourhood
abs
lambda
or
sum
and
20
Second
Bigger Together
itertools.permutations
permutations
itertools
map
join
First
Count And Say
groupby
itertools.groupby
itertools
sum
join
One-liner
Achilles and the Tortoise
First
The Greatest Common Divisor
while
append
range
list
else
First
Correct Capital
istitle
islower
isupper
bool
or
1
First
Bigger Together
itertools.permutations
permutations
float
itertools
map
Using Python batteries
Caesar Cipher (encryptor)
translate
collections.deque
deque
ascii_lowercase
string.ascii_lowercase
First
Moore Neighbourhood
itertools.product
product
all
itertools
remove
3
One-liner
Binary Count
bin
lambda
count
Ice Base
First
Long Pressed
fullmatch
re.fullmatch
f-string
re
None
4
Another one-liner
Monkey Typing
filter
lower
lambda
count
list
5
Using sets
New Cities
discard
frozenset
add
continue
break
6
Simple (shorter)
Adjacent Letters
continue
pop
join
and
append
7
One-liner
Morse Encoder
map
lower
lambda
join
split
7
One-liner with groupby
Long Repeat
bool
max
lambda
sum
and
10
1
Because I'm Lazy
Reverse Roman Numerals
dict-comp
zip
not
join
append
11
Shortened
The Most Numbers
min
max
not
lambda
inline-if
13
2
DFS
Node Disconnected Users
collections.defaultdict
defaultdict
extend
add
collections
14
2
Long and ugly
Making Change
combinations_with_replacement
itertools.combinations_with_replacement
any
itertools
min
14
Simple
Adjacent Letters
continue
pop
not
join
append
20
1
Straightforward
How to Find Friends
update
any
remove
break
set
First
Oil Pie
Fraction
fractions.Fraction
fractions
map
abs
Simple
Find Quotes
not
join
elif
False
append
First
Count Chains
math.hypot
hypot
Tuple
typing.Tuple
add
First
Clock Angle
abs
list-comp
split
comprehension
int
2
First
How to Find Friends
update
any
remove
break
set
1
One-liner
Monkey Typing
lower
sum
if-comprehension
in
list-comp
First
Counting Tiles
count
elif
and
list-comp
range
Shortened Shortened :)
The Most Numbers
min
max
lambda
and
len
1
Slow and simple
Largest Rectangle in a Histogram
enumerate
while
and
len
for
First
The Most Numbers
float
min
max
list-comp
comprehension
Simple
Feed Pigeons
lambda
while
else
if
Second
The Most Numbers
float
map
min
max
not
Alice In Wonderland
One-liner
Easy Unpack
lambda
1
2
One-liner
Bigger Price
lambda
sorted
1
5
One-liner
Ascending List
all
map
lambda
int
2
2
One-liner using statistics
The Fastest Horse
enumerate
min
lambda
comprehension
3
1
Ugly
YAML. List and Comments
startswith
rstrip
re.sub
sub
strip
3
Slicing
Swap Nodes
len
4
1
One-liner
Nearest Value
min
abs
lambda
sorted
5
1
zip and star
Zigzag Array
iter
reversed
List
typing.List
zip
5
One-liner
First Word
strip
r-string
lambda
split
6
1
First
When "k" is Enough!
yield
get
dict
continue
typing.Iterable
9
Ugly
IP Network: Route Summarization
zfill
iter
bin
zip
break
10
One-liner
The Fastest Horse
enumerate
min
lambda
comprehension
12
JaredGillespie's compressed
Multiplication Table
bin
lambda
sum
comprehension
int
16
One-liner
Middle Characters
lambda
or
and
len
18
Simple
Backspace Apply
pop
join
elif
append
str
One-liner (Anti-PEP8 :D)
Morse Decoder
capitalize
lambda
join
split
comprehension
One-liner
Transposed Matrix
lambda
list-comp
range
comprehension
len
2
One-liner
Morse Decoder
capitalize
map
lambda
join
split
1
Simple
Swap Nodes
range
len
for
First
Date and Time Converter
datetime.strptime
strptime
datetime.datetime
format
datetime
First
Words Order
re.search
search
r-string
all
zip
First
Shorter Set
set
sorted
int
len
if
First
Multiplication Table
bin
map
lambda
sum
join
First
Digits Doublets
tuple
zip
continue
break
not
Simple
When is Friday?
datetime.strptime
strptime
datetime.datetime
datetime
inline-if
First
Days Between
date
datetime.date
datetime
abs
First
The Good Radix
ord
isdigit
max
not
list-comp
First
The Most Wanted Letter
isalpha
set
lower
count
sorted
1
See what re.sub can do :)
Backward Each Word
re.sub
sub
r-string
re
lambda
Simple
End Zeros
divmod
break
not
while
True
One-liner
The Most Wanted Letter
chr
map
max
lower
lambda
eugene128736871's shortened
The Most Wanted Letter
filter
collections.Counter
Counter
items
collections
GitHub
One-liner
The Highest Building
zip
map
enumerate
max
lambda
1
One-liner
Expand Intervals
lambda
range
list
comprehension
1
1
Simple
Merge Intervals (generator version)
collections.deque
deque
yield
collections
max
3
First
Broken Clock
gmtime
time.gmtime
time.strftime
strftime
time
4
11
Laziness
Simplify Unix Path
bytes
startswith
re.sub
sub
isinstance
6
One-liner
The End of Other
endswith
any
lambda
if-comprehension
list-comp
9
Straightforward
Common Tail
reversed
zip
None
list
int
9
First
Shooting Range
all
round
not
list-comp
range
10
1
AnnaCho's One-liner
The End of Other
any
replace
lambda
and
comprehension
10
Only the first and the last week matters
The Most Frequent Weekdays
calendar.day_name
day_name
calendar
datetime.datetime
datetime
11
7
spoty's shortened
The End of Other
endswith
any
lambda
and
comprehension
Simple
Merge Intervals
collections.deque
deque
collections
max
not
1
First
Area of a Convex Polygon
reverse
zip
abs
sum
append
Dropbox
One-liner
Sum Numbers
compile
r-string
map
lambda
sum
1
3
Workaround
Is String a Number? (Part II)
ValueError
float
abs
bool
except
1
5
One-liner
The Longest Palindromic
next
zip
None
lambda
join
2
One-liner
Count Digits
map
isdigit
lambda
sum
str
2
1
Don't reinvent the wheel
Is String a Number?
isnumeric
str
4
przemyslaw.daniel's shortened
Simple Hashlib
getattr
lambda
4
One-liner
Not in Order
map
lambda
sum
sorted
int
4
First
Switch Keys to Values
collections.defaultdict
defaultdict
add
dict
items
7
1
One-liner
Max Digit
max
lambda
int
str
14
1
Refactored
Three Points Circle
complex
eval
rstrip
intersection
float
18
One, One, One-liner
Three Words
map
isalpha
lambda
join
in
8
Simple
Numbers Factory
break
sorted
join
while
append
Not elegant
Friendly Number
float
round
abs
break
while
First
Simple Hashlib
hashlib.sha1
hashlib.sha224
hashlib.sha256
hashlib.sha384
hashlib.sha512
2
Simple
Worth of Words
max
lambda
sum
comprehension
1
Spheroid
Humpty Dumpty Form
math.atanh
atanh
math.asin
asin
math.pi
First
Three Points Circle
eval
rstrip
float
format
round
First
Numbers Factory
break
sorted
join
while
append
Simple
Popular Words
re.sub
sub
collections.Counter
Counter
dict-comp
1
Shorter
Popular Words
re.split
collections.Counter
Counter
strip
dict-comp
Ugly One-liner
Three Words
all
any
map
isalpha
lambda
Not elegant
Speech Module
strip
not
lambda
elif
else
PyCon TW
Simple
Ryerson Letter Grade
int
str
for
if
3
Ceph's Refactored
House Password
re.search
search
all
re
and
4
8
One-liner
Sum Consecutives
lambda
sum
list-comp
comprehension
4
One-liner
House Password
islower
all
any
map
isupper
19
2
One-liner variation
House Password
islower
any
isupper
isalpha
isdigit
20
grigoriytretyakov's shortened using evil eval
House Password
eval
all
set
lambda
and
all re
House Password
all
lambda
comprehension
2
First
Robot Sort
join
while
append
range
list
First
Calculate Islands
remove
pop
sorted
while
if-comprehension
1
grigoriytretyakov's shortened without eval
House Password
chr
all
map
set
lambda
Clear with ugly determinant
How Much Gold
in
list-comp
comprehension
1
With for...else :)
House Password
islower
isupper
break
isdigit
False
2
Minor optimizations
Calculate Islands
collections.deque
deque
itertools.product
product
set-comp
First
Simple Areas
raise
math.pi
pi
ValueError
round
1
First Attempt
Golden Pyramid
max
list-comp
comprehension
else
len
First
Digit Stack
raise
ValueError
pop
not
elif
any and map
House Password
islower
any
map
isupper
isdigit
all, any, map
House Password
islower
all
any
map
isupper
Storage
One-liner
Skew-symmetric Matrix
zip
list-comp
list
comprehension
3
1
First
Group Equal consecutive
lambda
list-comp
list
comprehension
5
Cleaner
Weak Point
zip
map
index
min
sum
8
First
Earth Distances
math.radians
radians
math.cos
cos
math.sin
9
Encoded Primes
Restricted Prime
chr
ord
join
in
list-comp
10
2
JanKaifer's Refactored (or simple made simple)
Weak Point
index
min
sum
list-comp
range
19
4
First
Moria Doors
punctuation
string.punctuation
reverse
strip
string
19
4
First
The Rows of Cakes
combinations
itertools.combinations
itertools
pop
not
Simple
Word Pattern
zfill
bin
isdigit
inline-if
join
First
Saw the Stick
enumerate
break
lambda
sum
elif
Second
Saw the Stick
enumerate
break
lambda
sum
elif
First
Weak Point
index
min
sum
list-comp
range
1
HubSpot
One-liner
Remove All Before
index
lambda
or
in
and
1
4
One-liner
Backward String
lambda
2
1
One-liner
First Word (simplified)
lambda
split
2
3
One-liner
The Hamming Distance
bin
lambda
count
3
Less duplication
Min and Max
iter
get
None
sorted
False
5
2
One-liner
Non Empty Lines
isspace
bool
not
lambda
sum
7
Simple without re
Stressful Subject
groupby
itertools.groupby
endswith
filter
itertools
8
4
One-liner
Second Index
next
enumerate
None
lambda
count
8
First
Between Markers (simplified)
finditer
re.finditer
next
r-string
re
13
Sim0000's one-liner without if :)
Number Base
max
lambda
or
and
int
15
2
Recursive one-liner
Restricted Sum
pop
bool
lambda
and
16
1
One-liner
Is Even
lambda
18
XOR
The Hamming Distance
bin
count
One-liner
Fizz Buzz
strip
lambda
or
join
str
2
or lambda
Fizz Buzz
lambda
or
str
2
One-liner
Even the Last
lambda
or
sum
Cheating :)
Restricted Sum
eval
1
Repetitio est mater studiorum :D
Fizz Buzz
str
if
2
collections.deque
Auto Painting
collections.deque
deque
collections
min
join
bobriko's one-lines
Fizz Buzz
lambda
str
1
First
Repeating Decimals
get
None
not
while
str
Extended Iterable Unpacking
Restricted Sum
not
if
2
Recursion
Restricted Sum
not
if
First
Number Base
ValueError
except
try
int
First
Right to Left
replace
join
list-comp
comprehension
Simple
Min and Max
get
None
not
list
else
4
Obvious
All Upper II
isupper
str
Less Redundancy
Number Base
ValueError
except
try
int
deque.rotate
Replace First
collections.deque
deque
collections
typing.Iterable
Iterable
Sabina's Shortened
Restricted Sum
not
lambda
inline-if
1
Shorter one-liner
Right to Left
replace
lambda
join
Simple
Number Length
break
not
while
True
int
A redundant 0 removed :)
Even the Last
lambda
or
sum
2
Blizzard
One-liner
Unlucky Days
lambda
sum
range
comprehension
3
przemyslaw.daniel's 2-liner one-linerized
Unlucky Days
map
lambda
or
sum
range
4
2
Wikipedia: Levenshtein distance
String Conversion
map
min
list-comp
range
comprehension
8
First
Safe Coasts
all
remove
enumerate
break
replace
19
First
Radiation Search
union
functools.reduce
reduce
functools
remove
Simple
Move Zeros
print
append
list
else
int
Using datetime
Unlucky Days
datetime.datetime
datetime
sum
range
comprehension
First
The Angles of a Triangle
math.degrees
degrees
math.acos
acos
all
With Walrus
The First Working Day
datetime.strptime
strptime
datetime.timedelta
timedelta
datetime.datetime
First
Stair Steps
itertools.repeat
repeat
itertools.product
product
filter
Simple
Weekend Counter
if
Rock
Lambert W function
Super Root
math.exp
exp
math.log
log
round
2
1
Straightforward
Replace with Biggest
typing.Iterable
Iterable
max
typing
range
4
First
Parity Bit Generator
chr
bin
lambda
count
join
7
Long and Ugly
Web Log Sessions
splitlines
datetime.strptime
strptime
set-comp
datetime.datetime
Shelter
First
One line Drawing
iter
next
set-comp
remove
pop
11
1
One-liner
The Nearest Square Number
round
lambda
First
Pattern Recognition
all
list-comp
range
comprehension
len
First
Ghosts Age
while
range
else
for
if
Codeship
druifor's "Exp: sets & combinations" shortened :)
The Square Chest
from_iterable
itertools.from_iterable
chain
itertools.chain
combinations
6
1
Needs more cleanup
Texas Referee
filterfalse
itertools.filterfalse
combinations
itertools.combinations
filter
7
Using generating functions
Probably Dice
math.factorial
factorial
math
lambda
or
Ugly
The Square Chest
set-comp
all
tuple
sorted
in
Leolo's refactored
The Square Chest
all
lambda
sorted
in
and
Hermit
Using Fraction
Fractions Addition
__add__
fractions.__add__
Fraction
fractions.Fraction
fractions
4
Ugly
Mono Captcha
iter
next
zip
enumerate
lambda
15
First
Integer Palindrome
bool
int
str
alexgerdom's one-linerized
Simplification
replace
lambda
str
1
Clear and Slow
Break Rings
union
combinations
itertools.combinations
functools.reduce
reduce
1
First
Count Consecutive Summers
float
lambda
while
if
Watchtower
Jarvis march
Convex Hull
complex
insert
enumerate
index
min
8
Slow and simple
Number Guess
remove
if-comprehension
list-comp
range
list
9
3
Using magic method
Funny Addition
lambda
int
19
1
First
Vigenere Cipher
chr
all
ord
zip
map
Minimalist
Funny Addition
sum
1
First
Rotate Hole
collections.deque
deque
all
collections
lambda
One-liner
Funny Addition
lambda
sum
Escher
One-liner
The Stone Wall
strip
zip
map
enumerate
min
10
First
Wild Dogs
math.gcd
gcd
collections.defaultdict
combinations
defaultdict
17
Verbose
Ground for the House
strip
enumerate
min
max
not
20
Nothing special
Compass, Map and Spyglass
values
dict-comp
zip
enumerate
pop
20
Self-documenting
The Ship Teams
items
sorted
append
else
for
Not On Map
Let Python do the job
Length of the String
len
7
2
Simple
Aggregate and Count
collections.defaultdict
defaultdict
dict
collections
list
12
1
First
Aggregate and Count
collections.defaultdict
defaultdict
dict
collections
list
20
1