14
Belethchamien
3 12 25
917/ 945
Last seen 4 months ago
Member for 5 years, 11 months, 17 days
Difficulty Normal
Missions (96) / Solutions (70)
Best solutions / Newest solutions
Initiation
Solution with itertools
Split Pairs
zip
print
elif
append
range
Simple solution
Max Digit
in
range
int
str
for
basic
Replace First
pop
append
list
else
len
basic
All Upper I
upper
bool
False
True
else
simple solution
Remove All Before
ValueError
typing.Iterable
Iterable
except
try
learned from w3schools how to reverse a string with slicing
Backward String
str
Solved with recursion
End Zeros
pop
append
list
else
int
change into string and ask length
Number Length
int
str
len
Simple solution
Acceptable Password I
bool
False
True
else
str
simple and clear
Between Markers (simplified)
find
str
simple
First Word (simplified)
split
str
simple
All the Same
Any
typing.Any
List
typing.List
bool
First
Easy Unpack
tuple
len
Home
long_winded_names
Changing direction
List
typing.List
continue
typing
print
used datetime
Days Between
as
datetime.datetime
datetime
abs
Elaborate and probably too long, but it works
Sort Array by Element Frequency
index
lambda
or
sorted
while
Done
Morse Decoder
rstrip
capitalize
split
for
First
Date and Time Converter
print
and
split
else
int
This was really hard to do!
Sun Angle
or
split
else
int
if
simple
Non-unique Elements
count
append
list
for
if
Electronic Station
basic
Surjection Strings
translate
bool
print
False
True
Boolean if else
Boolean Algebra
Exception
raise
bool
not
or
simple
Ascending List
sort
not
count
print
False
this function already exists?
All Upper II
isupper
bool
print
False
True
lots of if-statements
Acceptable Password VI
is
re.search
search
r-string
add
simple
Acceptable Password V
is
re.search
search
find
re
My solution seems overly long and complicated
Sort by Extension
rfind
sort
or
print
elif
solution
Words Order
find
bool
count
print
False
Simple
Acceptable Password IV
re.search
search
re
None
isdigit
Simple solution
Acceptable Password III
re.search
search
re
None
isdigit
18
Simple solution
Acceptable Password II
re.search
search
re
None
bool
20
Done!
Verify Anagrams
replace
lower
sorted
False
append
This was a really hard one!
Brackets
RecursionError
clear
find
replace
except
Not great, but finally got it to work
Find Sequence
diagonal
numpy.diagonal
numpy
zip
count
Scientific Expedition
Messy but it works
Bird Language
pop
replace
except
try
print
Learned something about the .count()-method of both lists and strings
Common Words
rstrip
count
sorted
append
split
Simple
Time Converter (24h to 12h)
elif
and
split
int
str
working solution
The Most Wanted Letter
ascii_lowercase
string.ascii_lowercase
string
find
max
Over-complicated?
Secret Message
isupper
append
True
split
range
O'Reilly
recursion
Flatten a List
type
elif
append
list
int
Done
Median
float
List
typing.List
typing
sorted
Could be quite a bit more elegant...
Time Converter (12h to 24h)
zfill
replace
elif
split
else
Hard-coded
Xs and Os Referee
in
and
else
if
1
Incinerator
Second
The Warriors
class
False
True
else
if
First
Every Person is Unique
class
as
f-string
date
datetime.date
Messy solution
Army Battles
AttributeError
class
hasattr
None
except
Finally starting to understand objects and classes
The Warriors
class
while
elif
False
and
Done :)
Multicolored Lamp
class
None
elif
if
16
An equilateral triangle is not the same as a right triangle!!!
Geometry Figures
math.tan
tan
class
math.pi
pi
9
Mine
Solved using math
Achilles and the Tortoise
Easy
Binary Count
format
str
lots of lists and loops
Caesar Cipher (encryptor)
ascii_lowercase
string.ascii_lowercase
string
index
join
First
Fizz Buzz
rstrip
else
str
if
Ice Base
pigeon solution
Feed Pigeons
while
elif
if
Using a while-loop
Largest Rectangle in a Histogram
min
max
while
len
for
easy
Morse Encoder
rstrip
lower
split
for
hard coded
Reverse Roman Numerals
replace
count
Simple
Roman Numerals
zfill
elif
and
int
str
This can probably be done in a better way....
Long Repeat
ascii_lowercase
string.ascii_lowercase
string
find
max
simple
Monkey Typing
find
set
lower
int
str
Simple
The Most Numbers
min
max
else
len
if
Dropbox
Classes and RegEx
Worth of Words
class
findall
re.findall
sort
re
Finally got it!
Friendly Number
pow
format
IndexError
abs
except
I found this to be a really hard one!
Numbers Factory
while
and
else
if
PyCon TW
Simple
House Password
islower
isupper
isalpha
isdigit
bool
Storage
solution
Group Equal consecutive
append
range
else
len
for
HubSpot
Solution
The Hamming Distance
zfill
bin
lstrip
elif
append
Used recursion
Restricted Sum
print
else
len
if
Blizzard
"I'm afraid we'll have to use...Math!"
The Angles of a Triangle
math.degrees
degrees
math.acos
acos
ValueError
Codeship
Found a working formula!!!
Pearls in the Box
pow
float
round
count
int