35
rybld2
● 9 ● 35 ● 43
7267/ 7695
Y & R gartele
Last seen 1 hour ago
Member for 4 years, 2 months, 7 days
Difficulty Normal
Missions (434) / Solutions (264)
Best solutions / Newest solutions
Initiation
a pandas's little cup ?
The Most Frequent
DataFrame
pandas.DataFrame
pandas
as
index
1
1
the same with counter
The Most Frequent
collections.Counter
Counter
collections
inline-if
list
First
Is Even
bool
int
1
First
Easy Unpack
tuple
1
First
Split Pairs
list-comp
range
comprehension
len
if
2
First
Replace First
typing.Iterable
Iterable
typing
inline-if
list
1
First
Between Markers (simplified)
index
str
1
basic, no counter
The Most Frequent
values
dict-comp
items
set
max
First
Multiply (Intro)
1
First
Max Digit
max
list-comp
comprehension
int
str
2
First
Backward String
str
2
First
All Upper I
all
ord
bool
set
not
2
First
Remove All Before
index
typing.Iterable
Iterable
typing
inline-if
2
First
Acceptable Password I
bool
str
len
2
First
Correct Sentence
upper
inline-if
str
len
1
First
Sum Numbers
isnumeric
sum
if-comprehension
list-comp
split
1
First
Nearest Value
index
min
abs
set
sorted
1
First
End Zeros
while
and
int
str
len
1
First
Beginning Zeros
while
and
int
str
len
1
First
Count Digits
if-comprehension
in
list-comp
range
comprehension
2
First
Number Length
int
str
len
2
First
First Word (simplified)
replace
split
str
2
Home
with the little urside
Bigger Price
DataFrame
pandas.DataFrame
pandas
as
False
6
1
basic
Changing direction
not
or
print
while
elif
First
Duplicate Zeros
not
print
list
for
if
1
First
Sun Angle
or
and
split
else
int
2
First
Split List
list
len
if
1
First
Days Between
date
datetime.date
datetime
abs
2
First
First Word
not
inline-if
join
if-comprehension
in
1
first
Bigger Price
lambda
sorted
True
list
int
1
First
Backward Each Word
join
list-comp
split
comprehension
str
2
a little laborious
Date and Time Converter
extend
inline-if
elif
False
True
with collections.OrderedDict
Sort Array by Element Frequency
OrderedDict
collections.OrderedDict
collections
lambda
count
3
why complicate ?
Non-unique Elements
count
if-comprehension
list-comp
comprehension
First
Morse Decoder
upper
join
list-comp
split
comprehension
2
First
Sort Array by Element Frequency
dict-comp
lambda
count
sorted
True
1
First
Popular Words
dict-comp
dict
zip
lower
count
2
simple
Pawn Brotherhood
chr
ord
set
or
in
1
First
Second Index
find
None
count
while
and
1
First
Non-unique Elements
dict-comp
count
if-comprehension
list-comp
list
2
First
Three Words
ord
bool
lower
if-comprehension
in
1
First
Right to Left
tuple
join
while
else
str
1
First
Even the Last
sum
if-comprehension
list-comp
range
list
1
Electronic Station
First
Blood distribution
dict-comp
min
inline-if
while
and
8
probably too long
Inside Block
Tuple
typing.Tuple
set-comp
round
min
First
Boolean Algebra
dict
zip
min
int
1
basic
Acceptable Password V
all
ord
bool
not
lower
perhaps very basic
Acceptable Password VI
all
ord
bool
set
not
2
First
Can You Pass?
pop
not
while
if-comprehension
in
simple
Words Order
all
index
bool
count
and
2
First
Similar Triangles
Tuple
typing.Tuple
all
List
typing.List
1
First
Ascending List
all
typing.Iterable
Iterable
bool
typing
1
little string manipulation
Sort by Extension
List
typing.List
index
not
typing
First
Surjection Strings
dict-comp
break
bool
not
and
1
First
Acceptable Password III
all
any
ord
bool
not
1
First
Acceptable Password II
any
ord
bool
in
and
1
First
Digits Multiplication
if-comprehension
list-comp
comprehension
int
str
2
First
Find Sequence
break
count
or
join
if-comprehension
1
First
Verify Anagrams
class
f-string
not
lower
sorted
4
With counter
Verify Anagrams
collections.Counter
Counter
collections
replace
lower
3
Scientific Expedition
pandas now !
Convert and Aggregate
DataFrame
pandas.DataFrame
pandas
as
dict-comp
1
2
First
Secret Message
upper
ord
join
if-comprehension
in
19
1
simple isn't ?
Convert and Aggregate
collections.defaultdict
defaultdict
dict-comp
dict
tuple
First
Caps Lock
upper
not
join
False
split
3
First
Time Converter (24h to 12h)
inline-if
elif
int
str
if
1
First
Bird Language
not
inline-if
while
in
len
1
First
Common Words
sorted
join
if-comprehension
in
list-comp
1
Second
Cipher Map
join
if-comprehension
list-comp
range
comprehension
4
little variation with divmod
Call to Home
divmod
values
inline-if
sum
in
2
First
Follow Instructions
tuple
range
len
for
if
3
First
Letter Queue
in
elif
range
len
for
3
First
The Hidden Word
find
replace
max
not
lower
1
First
Goes Right After
find
bool
and
str
1
First
Sum by Type
Tuple
typing.Tuple
isinstance
tuple
typing
2
First
Cipher Map
list-comp
range
comprehension
len
for
For fun
I Love Python!
print
First
Pangram
set-comp
bool
set
not
lower
1
First
Call to Home
values
dict
inline-if
sum
in
1
First
Conversion from CamelCase
isupper
not
lower
range
else
1
why use str.title ?
Conversion into CamelCase
upper
join
list-comp
split
comprehension
1
First
Striped Words
upper
replace
or
if-comprehension
in
1
First
Absolute Sorting
tuple
abs
sorted
while
list-comp
1
Third
Cipher Map
join
if-comprehension
append
list-comp
range
2
First
The Most Wanted Letter
chr
ord
index
max
lower
1
O'Reilly
with recursivity
The Flat Dictionary
isinstance
dict
items
not
join
7
First
Ordinary Cardinals
OrderedDict
collections.OrderedDict
collections
index
min
11
simple string length calculation (not very simple indices)
The Hollow Diamond
rstrip
chr
bool
join
list-comp
12
First
Loading Cargo
set-comp
min
abs
sum
list-comp
18
1
First
Remove All After
typing.Iterable
Iterable
typing
while
in
very basic
Integer Palindrome
all
bool
print
while
False
1
not very original
Integer Palindrome
chr
bool
print
join
while
Second
Remove All After
index
list
int
if
3
First
The Final Stone
abs
not
inline-if
print
sorted
1
First
Sort Except Zero
typing.Iterable
Iterable
typing
sorted
if-comprehension
First
Frequency Sorting
get
lambda
sorted
False
True
1
replace is great !!
How Deep
replace
join
while
if-comprehension
in
2
First
Determine the Order
dict-comp
items
pop
index
set
2
First
Median of Three
sorted
range
len
for
if
3
First
Reverse Every Ascending
sorted
while
in
and
True
2
First
Chunk
typing.Iterable
Iterable
not
typing
and
3
simple isn't ?
Time Converter (12h to 24h)
f-string
map
in
split
int
2
First
Compress List
typing.Iterable
Iterable
typing
while
and
1
First
Replace Last
typing.Iterable
Iterable
typing
inline-if
list
2
First
Index Power
list
int
len
if
1
First
Majority
bool
count
False
True
list
1
First
Xs and Os Referee
List
typing.List
typing
or
join
2
First
Flatten a List
isinstance
not
inline-if
and
True
1
First
Median
float
List
typing.List
typing
sorted
1
Incinerator
simple
Capital City
class
super
None
not
if
14
1
First
Dialogues
class
translate
inline-if
join
in
First
Hacker Language
class
chr
bin
ord
not
3
simple, basic
Every Person is Unique
class
f-string
while
and
int
First
Geometry Figures
math.tan
tan
class
math.pi
pi
DP
Voice TV Control
class
isinstance
in
False
range
1
finally a simple memento!
Text Editor
class
append
little inheritance
The Warriors
class
super
while
True
if
2
simply
Building Base
vars
locals
repr
class
update
Mine
Brute force
Ulam–Warburton Automaton
bin
count
sum
in
range
3
2
First
Replace with Biggest
typing.Iterable
Iterable
max
not
typing
8
1
First
Toothpicks
math.log2
log2
math
set
inline-if
11
diagonal by diagonal, top left triangle first
Matrix "Hatching"
extend
typing.Iterable
Iterable
not
typing
11
1
First
Find Enemy
chr
ord
index
abs
max
12
3
not so simple ! very interesting
Adjacent Letters
all
not
or
print
while
13
2
First
Switch Keys to Values
dict-comp
dict
items
not
in
16
First
Caesar Cipher (decryptor)
dict-comp
chr
ord
or
inline-if
16
1
First
Aggregate by Operation
operator.setitem
setitem
getitem
operator.getitem
eval
18
2
two for one
Count Morse
startswith
itertools.permutations
permutations
itertools
lambda
18
1
wink
Moore Neighbourhood
DataFrame
pandas.DataFrame
pandas
as
min
1
first
Fibonacci Poem
break
replace
not
count
inline-if
1
First
Can Balance
typing.Iterable
abs
Iterable
not
typing
2
probably a little laborious
What Is Wrong With This Family?
set-comp
all
any
index
not
3
Aren't chess boxes objects?
Chess Knight
operator.concat
concat
class
operator
functools.reduce
not for children
Bigger Together
extend
max
not
sorted
join
simple, no?
Cut Sentence
max
inline-if
if-comprehension
list-comp
range
2
simple too
Caesar Cipher (encryptor)
dict-comp
chr
inline-if
join
list-comp
1
we can also use an ordered dictionary
Best Stock
dict
items
lambda
sorted
True
First
Caesar Cipher (encryptor)
dict-comp
chr
inline-if
join
list-comp
one line
Fizz Buzz
not
inline-if
int
str
2
not very original
Fizz Buzz
int
str
if
2
simple
Binary Count
bin
count
int
str
2
classic, without recurs
The Greatest Common Divisor
break
while
for
if
simple
Achilles and the Tortoise
with itertools
Moore Neighbourhood
itertools.product
product
itertools
in
and
Ice Base
simply
Count And Say
not
else
str
for
if
13
First
Not in Order
zip
sum
sorted
if-comprehension
list-comp
19
1
no loop no list but why?
Interesting, intersecting
tuple
bool
print
False
True
1
many cases considered
Reveal the Number
eval
enumerate
index
break
replace
order kept
When "k" is Enough!
dict-comp
min
typing.Iterable
Iterable
typing
one line
Move Zeros
not
print
if-comprehension
list-comp
list
1
simple isn't ?
Correct Capital
upper
bool
lower
print
in
Second
Move Zeros
not
print
if-comprehension
list-comp
list
1
Third
Move Zeros
print
range
list
int
len
1
First
Long Repeat
while
and
int
str
len
3
First
Identify Block
extend
dict-comp
None
break
not
1
First
Morse Encoder
lower
join
list-comp
split
comprehension
1
with bfs
Making Change
collections.deque
deque
set-comp
add
collections
First
Find Quotes
findall
re.findall
r-string
find
re
1
simple text translation
Oil Pie
Fraction
fractions.Fraction
fractions
abs
not
First
Counting Tiles
if
2
First
Clock Angle
round
abs
split
int
if
First
Monkey Typing
set
lower
sum
if-comprehension
in
1
First
Roman Numerals
replace
for
2
First
The Most Numbers
float
find
min
abs
replace
2
Alice In Wonderland
Second
Transposed Matrix
numpy.array
array
numpy
as
8
3
with pandas for the panda's day
The Fastest Horse
DataFrame
pandas.DataFrame
pandas
as
min
14
a bfs cup?
Digits Doublets
pop
None
sum
while
if-comprehension
3
First
Zigzag Array
List
typing.List
typing
inline-if
sorted
3
because numpy is so cute
Transposed Matrix
numpy.array
array
numpy
as
lambda
1
First
Tree Walker
isinstance
values
dict
sum
elif
1
First
The Fastest Horse
collections.Counter
Counter
collections
index
min
First
Swap Nodes
inline-if
len
1
a good bfs and chess boxes objects (we can of course do otherwise)
The Shortest Knight's Path
class
ord
pop
not
lambda
First
When is Friday?
extend
min
abs
max
not
2
simple
Middle Characters
len
if
1
First
Multiplication Table
bin
inline-if
sum
join
and
2
Comprehension list
Long Non Repeat
set
max
not
lambda
print
1
GitHub
First
Power Supply
set-comp
extend
dict-comp
set
not
6
1
First
Expand Intervals
typing.Iterable
Iterable
typing
list-comp
range
13
4
First
Cookies
find
not
while
and
len
18
3
First
Shooting Range
round
min
not
inline-if
elif
18
2
First
Merge Intervals
max
not
append
else
for
20
3
First
Searchlights
math.cos
cos
math.sin
sin
math.pi
First
Evenly Spaced Trees
set-comp
List
typing.List
max
typing
3
First
The Cheapest Flight
extend
add
List
typing.List
index
1
First
The Highest Building
sum
while
list-comp
range
comprehension
1
with comments
Long Repeat Inside
collections.defaultdict
defaultdict
dict-comp
get
items
4
simple
Area of a Convex Polygon
abs
sum
list-comp
range
comprehension
First
The Most Frequent Weekdays
extend
min
abs
max
not
2
First
Open Labyrinth
dict-comp
add
pop
set
while
1
set endswith
The End of Other
endswith
any
list-comp
comprehension
2
Dropbox
You will take a small dose of pandas ?
Worth of Words
DataFrame
pandas.DataFrame
pandas
as
get
2
1
a simple idea
Count Squares
itertools.product
product
combinations
itertools.combinations
set-comp
5
First
Rotating Grille Cipher
Optional
typing.Optional
reversed
extend
dict-comp
6
1
with heapq
Huffman Encode
heapify
heapq.heapify
heappush
heapq.heappush
heappop
6
2
Brute force
e+pi
eval
itertools.product
product
float
itertools
6
1
First
Sum of Distinct Cubes
pow
Tuple
typing.Tuple
is
tuple
12
1
Brute force
Tricky String
lambda
sum
sorted
if-comprehension
in
16
to be made compulsory for all students of algorithms !!!! (and no heapq)
Huffman Encode
dict-comp
pop
set
not
count
17
1
First
Sort Sorted Groups
zip
break
not
or
inline-if
20
1
little dictionaries
Atbash Cipher
dict-comp
chr
get
ord
inline-if
brute force
Place Queens
itertools.permutations
permutations
yield
chr
all
1
question ?
The Best Number Ever
math.pi
pi
math
2
with numpy
Three Points Circle
numpy.linalg
linalg
numpy.array
array
eval
Simply
Humpty Dumpty Form
math.atanh
atanh
math.asin
asin
math.pi
PyCon TW
one line ? if you want
How Much Gold
keys
inline-if
sum
in
list-comp
5
simply
Ryerson Letter Grade
get
if-comprehension
in
list-comp
range
2
simply
Golden Pyramid
max
range
list
comprehension
len
simple
Sum Consecutives
extend
sum
while
in
and
dict are great too but there are also other solutions
Simple Areas
math.pi
pi
math
sum
sorted
First
Double Substring
all
not
count
while
list-comp
small logical use of dictionary
Digit Stack
get
pop
inline-if
sum
append
First
House Password
upper
ord
bool
lower
or
1
Storage
a tiny cup of pandas
Working Hours Calculator
bdate_range
pandas.bdate_range
pandas
as
round
1
2
collinearity of two vectors
The Rows of Cakes
numpy.det
det
numpy.linalg
linalg
combinations
1
3
Just the instructions
List Beautify
rjust
enumerate
max
list-comp
range
10
Division does not exist, I haven't met
Restricted Prime
set
count
while
in
False
16
1
less simple than with itertools
Group Equal consecutive
not
append
else
for
if
First
Earth Distances
math.cos
cos
math.sin
sin
math.acos
1
First
Skew-symmetric Matrix
all
list-comp
range
comprehension
len
1
First
Moria Doors
replace
set
max
not
lower
not absolutely efficient but wy not ?
Saw the Stick
lambda
sum
if-comprehension
list-comp
range
First
Weak Point
index
min
sum
list-comp
range
HubSpot
First
Team Play
List
typing.List
pop
typing
sum
13
1
First
Supply Line
set-comp
dict
ord
pop
None
1
simply
Restricted Sum
inline-if
1
Blizzard
small variant always with pandas
Weekend Counter
date_range
pandas.date_range
DataFrame
pandas.DataFrame
pandas
1
1
little tease
The First Working Day
DateOffset
pandas.DateOffset
date_range
pandas.date_range
DataFrame
1
a hint of Prim ?
Connect Stars
extend
index
sorted
if-comprehension
append
2
2
just to use pandas
Weekend Counter
date_range
pandas.date_range
DataFrame
pandas.DataFrame
pandas
2
1
First
Radiation Search
not
if-comprehension
and
True
list-comp
12
you will take back a little bit of slice ?
Spaceship Landing Strip
max
count
inline-if
join
in
18
2
First
String Conversion
min
max
not
or
len
Dijkstra hum ???
Stair Steps
float
max
not
or
inline-if
3
First
Useless Flights
float
get
add
remove
index
namedtuple
Rectangles Union
collections.namedtuple
namedtuple
intersection
Tuple
typing.Tuple
1
Second and (little) something new
Stressful Subject
endswith
re.search
search
any
isupper
3
First
Stressful Subject
set-comp
upper
ord
set
not
4
Rock
little recursion
Greedy Number
set-comp
index
max
not
comprehension
2
4
The flexibility of the python and the tranquil force of the pandas
Web Log Sessions
Timedelta
pandas.Timedelta
pandas.to_datetime
to_datetime
DataFrame
3
1
No sketch
Fibonacci Spiral's End
inline-if
sum
list-comp
range
list
12
1
respect for the text
Sort by Removing
not
list
for
if
19
2
python vs prolog ???? hummm nice !
River Crossing
collections.deque
deque
combinations
itertools.combinations
isinstance
19
python vs prolog once more
Water Jars
collections.deque
deque
add
dict
collections
1
tree trip
Berserk Rook
pop
min
set
max
sorted
Shelter
with numpy
Pattern Recognition
allclose
numpy.allclose
matrix
numpy.matrix
numpy
2
Do you like pandas ? here it's only for weird !
Ghosts Age
DataFrame
pandas.DataFrame
pandas
as
values
2
1
First
Landing Site
set-comp
chr
ord
set
not
1
Did you think a traveling salesman? missed !
Delivery Drone
itertools.permutations
permutations
itertools
List
typing.List
simple
The Nearest Square Number
abs
inline-if
int
2
First
Seven Segment
values
upper
set
if-comprehension
list-comp
1
Codeship
little recursion for rolling !
Rolling 🎲!
not
list-comp
range
comprehension
else
2
4
a little cup of enum
Rolling 🎲!
Enum
enum.Enum
enum
class
list-comp
5
it is simply to prepare the continuation
Ugly Numbers
add
pop
sorted
append
range
19
on the edges
The Square Chest
set-comp
sum
if-comprehension
list-comp
range
1
Hermit
it is only calculation
Strawberry Fields
numpy.pi
numpy.arccos
arccos
numpy
pi
3
1
First
Ore In The Desert
intersection
set-comp
functools.reduce
reduce
functools
recursion once more too light
Shorter Set
set-comp
min
set
max
if-comprehension
and remember : no fractions !
Fractions Addition
math.lcm
lcm
math.gcd
gcd
divmod
1
more simple ?
Fractions Addition
Fraction
fractions.Fraction
fractions
divmod
not
1
Third with try
Fractions Addition
math.lcm
lcm
math.gcd
gcd
divmod
1
small and basic preview
Count Consecutive Summers
inline-if
sum
while
append
range
1
Not On Map
a little cup of pandas ?
Aggregate and Count
DataFrame
pandas.DataFrame
pandas
as
dict
1
2
simply
Aggregate and Count
dict
in
list
else
for
14