41
Tinus_Trotyl
14 39 62
11705/ 11730
Awesome Team Tinus Trotyl
Last seen 1 hour ago
Member for 7 years, 2 months, 14 days
Difficulty Normal
A little bit of Python with greetings from the Netherlands.

Missions (449) / Solutions (567)
Best solutions / Newest solutions
Initiation
First
Correct Sentence
upper
inline-if
str
1
44
First
Beginning Zeros
lstrip
int
str
len
1
18
The same without `all`
All the Same
2
17
Second
The Most Frequent
dict-comp
set
max
count
comprehension
2
1
First
Split Pairs
lambda
list-comp
range
comprehension
len
3
First
The Most Frequent
dict
max
inline-if
in
for
5
2
Head, *body and tail.
Correct Sentence
upper
inline-if
join
6
14
while starts with zeros
Beginning Zeros
startswith
while
int
str
7
Starred method
Replace First
typing.Iterable
Iterable
typing
list
if
8
Index
Remove All Before
index
typing.Iterable
Iterable
typing
inline-if
14
First
End Zeros
rstrip
int
str
len
19
Python, the lisping codeconstrictor . . .
End Zeros
not
inline-if
int
if
No Lower
All Upper I
any
bool
not
comprehension
str
1
Evolution (part I )
Acceptable Password I
bool
str
len
1
First
Nearest Value
min
abs
set
sorted
comprehension
First
Max Digit
max
list
int
str
First
First Word (simplified)
lambda
split
1
Fool Proof
Correct Sentence
upper
bool
and
str
Guillotine
Replace First
typing.Iterable
Iterable
typing
list
if
5th
All the Same
set
list
divide by 10
End Zeros
range
int
for
if
2
First
Count Digits
if-comprehension
list-comp
comprehension
int
str
1
First
Sum Numbers
all
sum
if-comprehension
in
split
First
Multiply (Intro)
First
All Upper I
upper
bool
str
1
First
Is Even
bool
int
First
Backward String
str
First
Between Markers (simplified)
index
str
while
Remove All Before
typing.Iterable
Iterable
typing
while
in
1
First
Number Length
int
str
len
First
Easy Unpack
Coded the way even my mother does understand .
Easy Unpack
Looping the truth . . .
All the Same
True
for
not any difference at all
All the Same
any
not
comprehension
The same broken all down . . .
All the Same
not
or
and
Third
Beginning Zeros
itertools.count
itertools
not
count
int
1
Home
Second
Morse Decoder
capitalize
replace
lambda
join
split
4
2
One line, two indexes
Second Index
index
None
lambda
count
inline-if
6
2
Tri State Logic
Changing direction
iter
is
zip
continue
None
7
Binair Interpretation
Morse Decoder
capitalize
replace
join
split
comprehension
14
4
First
Date and Time Converter
calendar.month_name
month_name
calendar
inline-if
join
From range excluded
Missing Number
zip
sort
pop
min
abs
make list from string
Duplicate Zeros
inline-if
join
list-comp
split
list
Inbetween
Between Markers
index
inline-if
in
str
len
Two Step
Second Index
enumerate
break
str
for
if
First
First Word
or
while
and
str
len
First
Popular Words
dict-comp
lower
lambda
count
split
Second
Second Index
index
None
count
inline-if
str
1
Simple and clear
First Word
while
in
str
1
First, recursive
Sort Array by Element Frequency
max
not
count
if-comprehension
list-comp
data sorted by price
Bigger Price
break
while
True
range
list
Walrus
Split List
list
len
First
Sun Angle
round
inline-if
split
int
Second
Right to Left
tuple
replace
join
list-comp
comprehension
1
'etianmsurwdkgohvf*l*pjbxcyzq'
Morse Decoder
translate
capitalize
not
count
inline-if
First
Backward Each Word
join
split
comprehension
str
Second
Three Words
all
isalpha
while
False
True
Third
First Word
lstrip
replace
split
str
for
First
Days Between
date
datetime.date
datetime
abs
First
Pawn Brotherhood
add
ord
set
or
in
First
Three Words
isalpha
while
elif
False
and
First
Right to Left
replace
for
First
Even the Last
range
len
for
if
First
Non-unique Elements
count
for
if
List Comprehension
Non-unique Elements
count
if-comprehension
list-comp
comprehension
Third
Non-unique Elements
enumerate
if-comprehension
in
list-comp
comprehension
Electronic Station
First
All Upper II
all
upper
bool
if-comprehension
and
2
Evolution (part V)
Acceptable Password V
all
any
bool
not
lower
6
1
First
Blood distribution
dict-comp
comprehension
else
for
if
6
Evolution (part IV)
Acceptable Password IV
all
any
bool
not
or
7
By recursive function call.
Brackets
not
or
while
in
elif
7
1
odd x's above y
Inside Block
zip
min
max
not
or
10
1
Recursive
Unix Match. Part 1
continue
enumerate
bool
not
or
10
Evolution (part II )
Acceptable Password II
any
bool
in
and
list-comp
11
1
Evolution ( part III )
Acceptable Password III
all
any
bool
not
in
11
Evoluotion, the final completion (part VI).
Acceptable Password VI
all
any
bool
set
not
13
1
7400 Series TTL
Boolean Algebra
eval
lambda
First
Find Sequence
all
False
and
True
range
First
Remove Brackets
map
continue
bool
lambda
count
1
As before (recursion) but interpreted from dictionairy
Brackets
while
and
True
if
indexed operations
Boolean Algebra
eval
membership test
Can You Pass?
enumerate
in
and
range
len
1
Look at Yourself !!!
Boolean Algebra
eval
Similar triangles have an equal set of angles
Similar Triangles
cmath.phase
phase
cmath.pi
cmath
Tuple
First
Mathematically Lucky Tickets
yield
range
int
len
for
First
Surjection Strings
dict-comp
zip
bool
not
False
1
First
Verify Anagrams
replace
lower
sorted
Second
Surjection Strings
setdefault
dict
zip
bool
False
1
First
Sort by Extension
List
typing.List
index
not
typing
Third and better
Words Order
remove
bool
not
while
in
First
Ascending List
all
typing.Iterable
Iterable
bool
typing
Second
Find Sequence
all
continue
not
False
and
my simplest
Verify Anagrams
replace
lower
sorted
1
recursive (optional args)
Brackets
not
while
in
and
True
First
Digits Multiplication
int
str
for
if
Scientific Expedition
Second
Nonogram Encode
zip
max
lambda
join
list-comp
1
Second
The Most Wanted Letter
dict-comp
chr
max
lower
count
2
3
First
Count Substring Occurrences
lower
sum
if-comprehension
range
comprehension
3
Title
Convert To Title Case
title
str
5
Downward
Longest Substring of Unique Characters
set
range
int
str
len
8
2
2zip
Nonogram Encode
zip
max
lambda
join
list-comp
11
First
Conversion into CamelCase
capitalize
join
split
comprehension
12
6
join_with_underscores
Conversion from CamelCase
isupper
lower
join
range
len
12
replace
Replace All Occurrences
replace
str
13
First
Combining Celebrity Names
pop
join
while
in
elif
14
First
Count Vowels
lower
if-comprehension
in
list-comp
comprehension
17
First
Beat The Previous
while
append
list-comp
list
comprehension
First
YAML. Simple Dict
strip
ValueError
dict
except
try
1
from index
The Most Wanted Letter
chr
index
max
lower
count
1
max
Latest ISO datetime
max
2
First
Convert and Aggregate
setdefault
dict
tuple
not
list
First
Remove Accents
combining
unicodedata.combining
normalize
unicodedata.normalize
unicodedata
First
Common Words
sorted
join
if-comprehension
in
split
1
Bit 5 toggle
Caps Lock
chr
ord
in
else
str
2
First
The Hidden Word
find
enumerate
replace
max
lower
1
Slice
Goes Right After
find
bool
str
1
First
Call to Home
and
split
comprehension
else
int
1
First
Sum by Type
Tuple
typing.Tuple
type
typing
sum
by darinsimmons
The Most Wanted Letter
collections.Counter
Counter
collections
lower
sorted
1
First
Striped Words
upper
continue
enumerate
break
or
1
First
Follow Instructions
in
for
if
First
The Most Wanted Letter
not
lower
sorted
if-comprehension
in
Split and join again.
Conversion from CamelCase
re.split
re
lower
join
if-comprehension
First
Pangram
ascii_uppercase
string.ascii_uppercase
string
upper
not
First
Time Converter (24h to 12h)
inline-if
split
int
str
4
First
Bird Language
while
in
elif
else
len
Third
Secret Message
join
if-comprehension
comprehension
First
I Love Python!
ugly but gets the job done
Cipher Map
range
for
if
Second
Pangram
chr
all
upper
lambda
in
First
Letter Queue
else
for
if
First
Morse Clock
bin
inline-if
join
list-comp
split
Second
Cipher Map
zip
range
list
comprehension
for
in a low level way
Absolute Sorting
abs
while
False
True
range
First
Secret Message
and
for
if
Second
Secret Message
for
if
1
Second
Absolute Sorting
tuple
abs
sorted
list
1
O'Reilly
First
Lightbulb Intro
datetime.datetime
datetime
List
typing.List
typing
2
First
The Final Stone
inline-if
sorted
while
list
int
2
1
sumnum
Sum of Digits
sum
while
comprehension
int
str
4
First
Chunk
typing.Iterable
Iterable
typing
list-comp
range
5
same one with f = lambda x : y(x)
Median
lambda
sorted
len
5
1
Flip
Flip of Time
combinations
itertools.combinations
update
copy
is
5
First
String-2-Matrix
tuple
ord
lower
inline-if
list-comp
6
1
in reverse size order
Grid Painting
dict-comp
all
any
enumerate
inline-if
6
First
Cipher Crossword
itertools.permutations
permutations
any
itertools
continue
9
Recursion
Knapsack Problem
tuple
break
max
not
inline-if
9
First
Ordinary Cardinals
remove
min
break
lambda
count
10
First
Matrix-2-String
chr
ord
enumerate
inline-if
join
11
7th
Median
lambda
sum
sorted
len
12
1
First
Replace Last
list
17
First
Determine the Order
dict-comp
continue
enumerate
index
break
17
First
Reverse Every Ascending
while
len
if
17
First
The Hollow Diamond
chr
ord
bool
inline-if
join
by datamask
Loading Cargo
itertools.product
product
itertools
enumerate
max
1
long liner
Loading Cargo
itertools.product
product
itertools
enumerate
min
Check if both halves are mirror images
Integer Palindrome
bool
while
False
True
int
yield from recursive
Flatten a List (generator version)
yield
isinstance
else
int
for
Yield from recursion
Flatten a List (iterator version)
hasattr
yield
else
for
if
First, simple recursion
Median of Three
inline-if
sorted
len
1
First
Remove All After
index
typing.Iterable
Iterable
typing
inline-if
First
Compress List
typing.Iterable
Iterable
typing
append
list
simple recursion
Flatten a List
type
not
list
if
1
First, string processing
How Deep
repr
max
for
if
2
in one line w/o "if"
Median
sorted
len
1
First
The Flat Dictionary
type
dict
elif
else
for
1
First
Time Converter (12h to 24h)
inline-if
join
split
int
str
2
Counter-wise counted
Frequency Sorting
count
sorted
6
First
Sort Except Zero
enumerate
typing.Iterable
Iterable
typing
sorted
First
Xs and Os Referee
all
join
in
list-comp
range
1
Second
Xs and Os Referee
all
join
in
range
comprehension
First
Majority
bool
inline-if
sum
list
comprehension
middle of centre
Median
sorted
len
1
sum(slice) / len(slice)
Median
sum
sorted
len
1
First
Count Inversions
while
False
True
range
list
6th
Median
remove
min
max
sum
while
a non 'if' solution
Median
sorted
len
2
First
Index Power
else
len
if
Second
Index Power
len
if
Incinerator
Hanky panky magical side effects inspired by suic
Friends
class
discard
frozenset
set-comp
add
3
A bit shorter then my first
Friends
class
remove
set
not
if-comprehension
5
and yet another one
Friends
class
discard
frozenset
set-comp
copy
8
1
First
Hacker Language
class
chr
all
bin
ord
10
1
Do not adjust your set
Voice TV Control
class
type
inline-if
in
else
17
1
First
Capital City
class
super
type
if
1
second
Friends
class
tuple
remove
set
not
First
Every Person is Unique
class
capitalize
enumerate
print
join
dialogue
Dialogues
class
dict
upper
inline-if
join
1
Step Relay
Multicolored Lamp
class
1
Second
The Vampires
class
collections.deque
deque
super
collections
1
Second
The Warriors
class
super
bool
max
while
Rotary switch
Multicolored Lamp
class
index
First
The Vampires
class
collections.deque
deque
super
collections
At last a solution (with a little bit of help from tom-tom and Sukonnik-Illia).
Friends
class
set-comp
remove
pop
not
4
Second
The Defenders
class
collections.deque
deque
super
collections
First
The Lancers
class
collections.deque
deque
super
collections
1
At last my final solution (with a little bit of help from tom-tom).
Friends
class
set-comp
remove
pop
not
3
A better solution with a little bit of help from tom-tom and Sukonnik-Illia.
Friends
class
frozenset
set-comp
remove
pop
First
Text Editor
class
append
list
First
The Warriors
class
super
not
while
and
1
First
The Defenders
class
collections.deque
deque
super
collections
1
First
Army Battles
class
collections.deque
deque
super
collections
2
Second
Army Battles
class
collections.deque
deque
super
collections
First
Friends
class
remove
set
not
in
that's all
Friends
class
set-comp
remove
pop
not
First
Building Base
class
format
Mine
Recursive Solution
Domino Chain
enumerate
replace
set
not
inline-if
1
1
second
"Lunar" Multiply
zip
enumerate
min
max
join
1
2
First
"Lunar" Multiply
zip
enumerate
min
max
join
2
the complex way
Toothpicks
not
count
inline-if
if-comprehension
False
3
recursive function
Count Morse
startswith
enumerate
not
int
str
4
1
match case
Postfix Evaluation
case
match-case
ZeroDivisionError
typing.Union
Union
4
Recursive hunger
The Cookie Monster
inline-if
if-comprehension
elif
list-comp
list
4
First
Rectangle Perimeter
print
int
5
Recursion in the complex field
Ulam-Warburton Automaton Hex
cmath.isclose
cmath.rect
rect
cmath.pi
isclose
5
2
One more !!!
Count Divisibles in Range
int
6
Math
Checking Perfect Power
math.log
log
math.sqrt
sqrt
math
6
First
Overlapping Disks
tuple
continue
enumerate
or
list
6
Uhh
Number With Exclamation
7
First
Can Balance
index
typing.Iterable
Iterable
typing
sum
8
1
First
Chess Knight
chr
ord
set
sorted
if-comprehension
8
2
recursive conditionals
Color Map
max
print
False
and
True
9
1
First
Switch Keys to Values
setdefault
dict
set
for
9
1
Recall
Cut Into Squares
keys
dict
min
max
elif
9
First
Number With Exclamation
range
int
for
10
First
Collatz Ztalloc
case
match-case
pop
None
join
11
First
Chemical Analysis
setdefault
dict
index
sorted
while
13
A recursive automaton
Ulam–Warburton Automaton
if-comprehension
in
append
list-comp
comprehension
14
A recursive train journey
Fast Train
min
sum
elif
and
list-comp
17
Slant by placeholding
Matrix "Hatching"
is
zip
typing.Iterable
None
Iterable
First
Longest Common Prefix
all
enumerate
min
break
not
First
The Einstein Problem-Lite
set-comp
dict-comp
dict
enumerate
pop
First
Integer Sign Determination
print
int
str
if
Fibonacci slices
Fibonacci Poem
join
while
append
split
str
1
First
Long Pressed
bool
or
print
False
True
Speckies & Acorns
Caesar Cipher (decryptor)
chr
ord
or
inline-if
join
Aggregate by operation
Aggregate by Operation
ZeroDivisionError
eval
copy
dict-comp
pass
First
Adjacent Letters
while
else
str
len
if
1
First
Best Stock
max
Swapper
Bigger Together
join
while
list-comp
range
comprehension
First
Replace with Biggest
typing.Iterable
Iterable
max
typing
inline-if
Speckies & Acorns
Caesar Cipher (encryptor)
chr
ord
inline-if
join
comprehension
Second
Bigger Together
break
join
while
True
list-comp
First
Escape
abs
inline-if
while
elif
False
First
Determinant
numpy.linalg
linalg
numpy.array
array
numpy
Second (revised after removed)
What Is Wrong With This Family?
break
inline-if
in
False
append
First
The Greatest Common Divisor
lambda
inline-if
while
len
First
Achilles and the Tortoise
while
2
First
Moore Neighbourhood
sum
if-comprehension
and
list-comp
comprehension
1
Let's stick together . . .
Cut Sentence
while
split
len
if
First
Disposable Teleports
find
pop
set
not
if-comprehension
negative logic
Fizz Buzz
and
str
if
First
Binary Count
bin
int
for
Ice Base
Try this . . .
The Most Numbers
ValueError
min
except
try
max
3
3
Try this
Is String a Number? (Part II)
float
bool
except
try
False
3
4
Apply the suggested mask
Is String a Number? (Part II)
case
match-case
all
replace
bool
4
2
First
Leap Year Checking
bool
or
and
int
4
1
First
Identify Block
not
or
sorted
while
if-comprehension
5
Extraction
Reveal the Number
float
index
None
replace
not
7
1
Generator
Close Enough
yield
tuple
min
abs
while
7
First
Cleaning Robot
yield
dict-comp
float
count
inline-if
8
Try this
Is String a Number?
ValueError
bool
except
try
False
10
First
When "k" is Enough!
dict-comp
typing.Iterable
Iterable
set
typing
12
First
Making Change
enumerate
None
sum
sorted
while
14
By looking downwards
Colorful Disks
Ellipsis
tuple
int
for
if
14
By building upwards
Colorful Disks
Ellipsis
tuple
remove
append
int
15
First
Quadratic Equation Roots
collections.abc.Iterable
collections
Iterable
sorted
True
17
3 terms
Write Quadratic Equation
abs
inline-if
list
int
str
18
1
First
Oil Pie
Fraction
fractions.Fraction
fractions
abs
inline-if
20
by inequality
Interesting, intersecting
tuple
bool
int
First
Perfect Number Checking
combinations
itertools.combinations
itertools
min
bool
Is it decimal ?
Is String a Number?
isdecimal
lambda
1
Non zeros first, then merge zeros.
Move Zeros
not
if-comprehension
list-comp
list
comprehension
count
Not in Order
zip
count
sorted
False
list-comp
First
Count Chains
abs
set
not
while
if-comprehension
Like it is.
Correct Capital
capitalize
upper
bool
lower
or
1
Methods
Correct Capital
eval
any
bool
join
comprehension
1
Reverse roman numerals in reverse
Reverse Roman Numerals
startswith
break
len
for
if
Second
Morse Encoder
upper
join
comprehension
1
8 times a 45° sector
Counting Tiles
inline-if
range
else
int
for
2
one switch
One Switch Strings
bool
False
True
range
else
As 8 times a 45° circle sector by complex numbers
Counting Tiles
abs
inline-if
range
int
for
4
First
Morse Encoder
upper
join
comprehension
3
First
Largest Rectangle in a Histogram
any
enumerate
max
not
while
First
Feed Pigeons
enumerate
lambda
inline-if
while
append
First
Find Quotes
while
in
and
append
Second, controlled oversampling (more effective)
How to Find Friends
remove
set
while
in
False
1
complex pythindex
Counting Tiles
abs
range
int
for
1
car and cdr
Long Repeat
max
while
and
First, oversampling (shorter)
How to Find Friends
set
in
split
range
len
3
First
Clock Angle
round
abs
inline-if
split
int
First
Roman Numerals
while
for
First
The Most Numbers
min
max
else
if
First
Monkey Typing
lower
if-comprehension
in
list-comp
comprehension
Simple and basic, but not special in any way . . .
The Most Numbers
min
max
lambda
inline-if
Well, that's all . . .
The Most Numbers
min
max
inline-if
2
Alice In Wonderland
First
Bridge Routine
case
match-case
upper
tuple
inline-if
2
Table
Peaceable Queens
int
3
2
First
Bishop vs Aliens
any
tuple
bool
lambda
or
8
First
Flood Area
inline-if
while
if
9
1
First
YAML. List and Comments
strip
dict-comp
ValueError
upper
lstrip
9
1
Second
Middle Characters
map
lambda
inline-if
join
len
13
First
Multiplication Table
eval
bin
int
for
1
First
Swap Nodes
append
range
len
for
if
1
First
Long Non Repeat
all
count
range
comprehension
len
1
Second
Multiplication Table
eval
bin
for
First
Transposed Matrix
zip
list-comp
list
comprehension
1
Toggle bit
Zigzag Array
List
typing.List
typing
list-comp
range
First
The Fastest Horse
dict-comp
index
min
max
count
Second
The Fastest Horse
dict-comp
index
min
max
count
1
First
When is Friday?
date
datetime.date
datetime
list-comp
split
First
Middle Characters
len
First
The Shortest Knight's Path
all
map
index
min
lambda
First
Digits Doublets
remove
min
not
lambda
inline-if
GitHub
My champ
Xs and Os Champion
divmod
index
count
join
list-comp
1
4
as simple as cooking popcorn
Exploring Calkin-Wilf Tree
bin
tuple
pop
sum
int
1
2
First: set(range)
Merge Intervals (iterator version)
iter
min
set
max
while
1
binairy tree climbing
Exploring Calkin-Wilf Tree
case
match-case
bin
tuple
int
3
4
Double Cheat
Shooting Range
round
min
abs
max
if
4
First
Create Intervals (generator version)
yield
min
while
in
for
6
First
Barcode Reader
index
break
join
in
range
7
1
Second
Merge Intervals (iterator version)
iter
max
sorted
while
list
9
First, break down and second, build back
Merge Intervals
min
max
while
and
if
11
1
First, by recursion
Painting Wall
min
max
sum
sorted
range
11
First
Paper Dice
all
any
enumerate
None
break
11
footmarks
Open Labyrinth
or
in
append
for
if
12
First
Merge Intervals (generator version)
yield
max
while
list
else
19
First
The End of Other
any
comprehension
len
3
First
Cookies
strip
dict-comp
split
comprehension
First
Long Repeat Inside
max
inline-if
in
range
len
1
GCD spaced
Evenly Spaced Trees
lambda
inline-if
while
list-comp
range
4
First, permutations
The Cheapest Flight
frozenset
itertools.permutations
permutations
dict-comp
all
1
First
The Highest Building
enumerate
index
in
len
for
First
Searchlights
cmath.polar
polar
cmath.rect
rect
cmath
First
Area of a Convex Polygon
round
zip
for
2
First, LISPY
Create Intervals
min
while
in
if
1
First
Expand Intervals
typing.Iterable
Iterable
typing
range
list
1
First
Broken Clock
divmod
index
list-comp
split
comprehension
1
First, search recursively
Open Labyrinth
index
list-comp
comprehension
if
1
First
The Most Frequent Weekdays
calendar.weekday
weekday
calendar
or
sorted
Dropbox
First
Worth of Words
enumerate
index
max
sum
if-comprehension
4
First
The Brick Factory Problem
is
None
else
int
if
4
By recursion
Sum of Distinct Cubes
None
break
while
in
range
6
First
Simple Hashlib
eval
update
7
recursive
On the same path
any
bool
False
list-comp
comprehension
8
First, by recursion.
Place Queens
dict-comp
enumerate
break
set
not
9
2
Huffman encoder
Huffman Encode
finally
next
yield
dict-comp
keys
10
First
Frogs Collision
tuple
None
abs
int
if
11
simulator
Calculator-I
eval
while
in
else
int
12
1
First
Rotating Grille Cipher
Optional
typing.Optional
List
typing.List
zip
12
Just count
Count Squares
all
tuple
min
max
in
14
Indexed vowels
Revorse the vewels
upper
isupper
enumerate
lower
inline-if
14
First
The Longest Word
max
inline-if
print
split
str
15
First
Tricky String
enumerate
index
max
sum
if-comprehension
17
First
Scytale Encryption
zip
None
replace
not
inline-if
19
2
Straight backwards
Common Tail
pop
None
inline-if
in
list
First
Humpty Dumpty Form
math.log
log
math.asin
asin
math.pi
1
First
Atbash Cipher
chr
ord
enumerate
join
elif
friendly solution for friendly number
Friendly Number
round
abs
inline-if
while
and
" fee-faw-fum "
The Best Number Ever
None
not
2
Reverse First
The Longest Palindromic
range
len
for
if
Second
Worth of Words
dict-comp
get
max
sum
comprehension
Longest First
The Longest Palindromic
range
len
for
if
1
Placeholding again
Speech Module
if
By Complex Number Arithmetic
Three Points Circle
cmath.polar
polar
cmath.rect
rect
cmath
simple indexing by placeholders
Speech Module
if
1
Yet another one.
Speech Module
lambda
inline-if
by recursion
Numbers Factory
enumerate
inline-if
sum
in
range
PyCon TW
First
Double Substring
count
range
len
for
if
5
3
When real world sizes are vectors >= 0
Simple Areas
lambda
count
5
1
First
Calculate Islands
List
typing.List
enumerate
typing
count
6
Predefined arguments
Simple Areas
bool
8
1
First
Building Visibility
dict-comp
remove
enumerate
lambda
inline-if
9
2 step
Fused Cubes
frozenset
dict
enumerate
set
sum
9
First
Sum Consecutives
zip
else
for
if
9
First
Ryerson Letter Grade
int
str
for
if
13
Indexed Methods
Simple Areas
eval
round
len
14
3
First - while for if break else
Robot Sort
break
join
while
append
True
16
2
LISPY
Golden Pyramid
max
if
19
1
Two Step
Network Attack
continue
min
max
sum
list-comp
2
Just try . . .
Simple Areas
IndexError
except
try
One single expression.
Golden Pyramid
max
inline-if
2
1 - sum(non_gold_alloys / 2)
How Much Gold
frozenset
Fraction
fractions.Fraction
fractions
update
local values again after some more notes from merzix (thank you !)
House Password
locals
values
all
any
bool
First
Digit Stack
None
not
inline-if
elif
append
3
First
House Password
any
bool
and
comprehension
str
6
Second
House Password
all
any
lambda
comprehension
len
"all local values" inspired by a note from Merzix
House Password
locals
values
all
any
bool
4
Storage
Two ways only.
Haunted House
any
not
in
elif
and
3
First
Moria Doors
round
enumerate
min
bool
set
4
1
No double check
Skew-symmetric Matrix
while
False
True
range
len
5
1
First - walk the line
Square Spiral
abs
while
and
for
6
1
First
English to Braille Translator
divmod
ord
inline-if
while
append
6
round and round and round and round (offset shifting)
Square Spiral
abs
inline-if
while
and
for
6
1
join ( join )
List Beautify
zip
enumerate
max
join
append
6
Sieve of Eratosthenes
Restricted Prime
remove
index
while
in
for
7
1
First
Group Equal consecutive
while
else
if
7
First
Word Pattern
upper
for
if
8
2
First
Playfair Cipher
divmod
enumerate
index
not
lower
8
1
First
Exec Quine
17
Three Dimensional
Hexagon Spiral
all
map
enumerate
min
abs
First
Weak Point
index
min
sum
list-comp
range
First
Working Hours Calculator
datetime.fromisoformat
fromisoformat
datetime.timedelta
timedelta
date
First
The Rows of Cakes
min
max
in
and
range
1
First
Digging a Canal
yield
or
and
list-comp
comprehension
haversine formula
Earth Distances
math.atan2
atan2
math.cos
cos
math.sin
Use Roman Numbers
Restricted Prime
yield
remove
index
while
in
1
First
Saw the Stick
while
if
1
HubSpot
First
Next Birthday
datetime.fromordinal
fromordinal
Dict
typing.Dict
Tuple
3
First
Team Play
class
List
typing.List
zip
typing
5
First
New Cities
any
dict
set
not
or
6
3
rotations in the complex field
Inscribe a Contour
cmath.rect
rect
cmath.phase
phase
cmath
6
First
Repeating Decimals
index
inline-if
while
in
and
7
1
Sea Scouting
Triangular Islands
yield
remove
sorted
while
in
13
First
Non Empty Lines
strip
if-comprehension
list-comp
split
comprehension
14
Shift to the left and to the right till what's left is right
Univocalic davasaan
lambda
16
First
Workout
copy
List
typing.List
sort
enumerate
17
First
Square Board
Tuple
typing.Tuple
typing
int
18
1
First
City's Happiness
set-comp
remove
enumerate
break
bool
18
7 days
Weekly Calendar
datetime.fromordinal
fromordinal
date
datetime.date
datetime
1
First
Node Disconnected Users
dict
set
not
or
inline-if
6502 like pseudo assembly
The Hamming Distance
pass
while
else
if
7
First
Auto Painting
break
not
join
while
in
my shortest
The Hamming Distance
bin
count
Cheating with mirrors
Restricted Sum
eval
First
Number Base
ValueError
except
try
int
Blizzard
First
Spaceship Landing Strip
max
not
inline-if
sum
in
7
3
Recursion
Checkers Capture
tuple
continue
index
list
int
7
by setdefault
Mountain Scape
setdefault
Tuple
typing.Tuple
dict
List
9
2
First
Rectangles Union
Tuple
typing.Tuple
set-comp
List
typing.List
10
Second
Unlucky Days
calendar.monthcalendar
monthcalendar
calendar
count
list-comp
14
First
Reversed Permutation Index
tuple
not
range
list
len
16
2
Unboxing Model
Radiation Search
and
range
len
for
if
17
1
Lambda fun
Stressful Subject
endswith
any
upper
zip
lambda
2
First
Connect Stars
Tuple
typing.Tuple
set-comp
yield
dict-comp
First
The First Working Day
datetime.timedelta
timedelta
date
datetime.date
datetime
in multiple lines
Palindromic Palindrome
break
not
False
True
range
First
Permutation Index
not
inline-if
list-comp
range
list
1
First
Weekend Counter
inline-if
1
Not a verry stressful solution
Stressful Subject
endswith
any
upper
zip
or
First
Useless Flights
dict-comp
dict
List
typing.List
continue
For hbczmxys sake only
Reversed Permutation Index
tuple
range
list
len
for
corrupt code passing all tests
String Conversion
max
in
range
len
for
2
First (a clumsy recursive but , I believe, not corrupt solution)
String Conversion
index
max
inline-if
in
and
1
Rambling the haunted seas
Safe Coasts
dict-comp
enumerate
join
and
list-comp
First
Unlucky Days
calendar.monthcalendar
monthcalendar
calendar
range
for
2
First
Stair Steps
max
not
sum
if-comprehension
elif
First
The Angles of a Triangle
math.degrees
degrees
math.acos
acos
round
3
As by isawyourship's methode
Min and Max
get
None
inline-if
sorted
while
Second
The Angles of a Triangle
math.degrees
degrees
math.acos
acos
round
At last in working order .... thank you Dahlia !!!
Min and Max
get
None
list
else
len
1
Rock
First
Garland
enumerate
inline-if
while
list
int
1
1
First
Hexagonal Islands
dict-comp
continue
index
abs
or
3
1
Permutations
Most Efficient Cutting
itertools.permutations
permutations
itertools
len
for
4
2
First
Life Counter
not
count
sum
in
and
4
1
First
Water Jars
min
inline-if
sorted
join
while
4
First
Berserk Rook
itertools.permutations
permutations
itertools
tuple
index
5
2
table
All Roads Lead to Rome!
tuple
and
list-comp
range
list
6
Smack in the middle
Super Root
round
inline-if
while
True
if
7
Recursive
Park Benches
Tuple
typing.Tuple
List
typing.List
max
7
First
CheckSum
divmod
ord
enumerate
or
inline-if
8
2
Faster by downward evaluation
Home Coming
List
typing.List
break
set
max
8
1
First
Sort by Removing
append
list
for
if
11
4 Step
Fibonacci Spiral's End
zip
range
list
int
for
13
eval 'type'
Count Comprehensions
ast.walk
walk
ast.parse
parse
ast
19
By recursion
Greedy Number
index
max
not
and
int
Kinda complicated, but gets the job done.
Crossword Solver
eval
dict-comp
all
dict
zip
First
Parity Bit Generator
chr
continue
while
for
if
2
First (middle out)
Super Root
round
while
else
if
1
First
Black Holes
math.cos
cos
math.sin
sin
combinations
Shelter
First
Delivery Drone
itertools.permutations
permutations
itertools
List
typing.List
1
First
AMSCO Cipher
index
join
while
list-comp
range
4
2
lo level logic
Seven Segment
ord
index
sum
in
list-comp
4
First
ADFGVX Cipher
remove
index
break
lower
count
8
First, concentric hexagon check
Landing Site
typing.Set
Set
tuple
continue
index
10
2
First
Pattern Recognition
inline-if
and
range
len
for
15
1
First
Halloween Monsters
filter
all
index
set
max
Ashes to ashes, dust to dust
Ghosts Age
dict
while
in
range
else
1
Laminate Streaming
The Lantern Festival
class
copy
pass
enumerate
set
Second, as a single boolean expression
Completely Empty
collections.Iterable
isinstance
as
all
collections
First
Completely Empty
collections.Iterable
isinstance
all
collections
Iterable
2
No begin without end
One line Drawing
dict
tuple
enumerate
set
not
First
The Nearest Square Number
inline-if
int
Third (and came a long way . . .)
Completely Empty
collections.Iterable
isinstance
as
all
collections
Codeship
dict
Reversi: Othello Moves
setdefault
keys
dict
tuple
lambda
1
1
First
8 Puzzle
pass
enumerate
index
break
while
5
First
Unfair Dice
all
index
min
set
max
8
1
Dict
Rolling 🎲!
int
str
for
10
1
Leftovers Go Stones
Eaten Go Stones
enumerate
count
or
and
list-comp
10
Second
Ugly Numbers
min
list-comp
range
comprehension
for
15
2
count
Champernowne Word
while
int
str
len
15
Backtracing
Rolling 🎲!
int
str
for
17
Ugly (with speed-up table)
Ugly Numbers
continue
not
while
range
int
18
1
First
Texas Referee
dict-comp
all
break
set
not
2
Walk about.
The Territory of Go
all
enumerate
or
in
append
First
The Square Chest
enumerate
not
in
range
len
First
Behind 2048
any
zip
or
in
elif
First
Pearls in the Box
round
count
sum
list-comp
range
Hermit
Shorter Set coded shorter
Shorter Set
set
lambda
sorted
1
1
First
Keywords Finder
index
max
not
lower
sorted
2
1
third
Ore In The Desert
all
round
list-comp
range
comprehension
5
How to sell your mother to buy another . . .
Stock Profit
enumerate
max
list-comp
list
comprehension
5
Second
Ore In The Desert
all
round
list-comp
range
comprehension
8
First
Unique Email Addresses
index
replace
set
lower
join
8
First
The Good Radix
max
while
and
comprehension
int
10
90° * atan(q) / atan(1)
Strawberry Fields
atan
math.atan
round
math
10
First
Network Loops
dict
index
min
set
max
12
1
short
Shorter Set
set
sorted
int
19
First
Count Consecutive Summers
continue
break
not
sum
range
First
Mono Captcha
all
format
break
count
inline-if
1
First
Birthday Party
datetime.timedelta
timedelta
date
datetime.date
datetime
First
Fractions Addition
divmod
not
lambda
inline-if
sum
First
Excel Column Number
index
int
str
for
1
First
Simplification
map
continue
enumerate
pop
abs
Remove before octothorp
Backspace Apply
else
str
for
if
|a+jb|
Ore In The Desert
all
round
abs
list-comp
range
combinations
Break Rings
combinations
itertools.combinations
itertools
tuple
remove
Watchtower
stepping stones
Stepping Stones Puzzle
dict-comp
keys
tuple
max
lambda
1
Wooly Bully on the Farm
Bulls and Cows
itertools.permutations
permutations
itertools
join
if-comprehension
2
1
recursive
Stepping Stones Puzzle
dict-comp
keys
tuple
max
not
2
1
Recursive marking
Boundary Blocks
continue
set
not
and
append
3
And the lights went out . . .
Wall Keeper
all
tuple
inline-if
while
in
4
1
First
DNA Common Sequence
enumerate
set
max
sorted
join
11
Second
Number Guess
remove
min
set
range
comprehension
11
1
First: the last remnant standing . . .
Number Guess
remove
min
set
range
comprehension
16
1
First
Vigenere Cipher
chr
ord
enumerate
break
join
1
Eliminate the impossible
Bulls and Cows
itertools.permutations
permutations
itertools
join
in
First, recursively broken down
Numbered Triangles
enumerate
max
not
in
range
All indexes listed by a clockwise turnaround
Convex Hull
cmath.phase
phase
cmath.pi
cmath
pi
First
Funny Addition
Rotate by index
Rotate Hole
and
True
range
len
for
Escher
First
Keys and Locks
break
not
inline-if
join
while
1
6
Second
Safe Code
re.split
eval
chr
re
replace
1
3
Second
The Secret Room
index
inline-if
sorted
join
split
3
3
Third
Keys and Locks
break
not
join
while
in
4
First
Safe Code
re.split
eval
chr
re
replace
6
First
Treasures
dict-comp
min
sorted
if-comprehension
in
8
1
First, by recursion.
Card Game
type
is
set
in
False
9
First
Hypercube
chr
ord
or
False
and
11
5
First
Compass, Map and Spyglass
itertools.permutations
permutations
dict-comp
itertools
enumerate
13
Remove what's not needed
Ground for the House
inline-if
join
while
False
and
17
1
First, recursive sampling
The Buttons
dict-comp
sorted
and
append
split
20
First
Graphical Key
pop
sum
in
append
list-comp
First
The Tower
frozenset
enumerate
set
max
if-comprehension
1
Merzixionized
Hypercube
chr
any
ord
if-comprehension
False
1
First
Wild Dogs
round
enumerate
or
inline-if
else
Loop all sides
Ground for the House
eval
enumerate
inline-if
while
and
First
The Stone Wall
enumerate
count
list-comp
split
comprehension
First
The Ship Teams
set-comp
or
sorted
if-comprehension
list
Not On Map
First
Most Wanted Letter
dict-comp
max
lower
count
inline-if
18
1
Clear
Aggregate and Count
setdefault
dict
list
for
1
len
Length of the String
len