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