21
MBM_1607
4 21 39
2676/ 2695
Muhammad Khan
Last seen 1 year ago
Member for 6 years, 5 months, 7 days
Difficulty Normal
Programming and History enthusiast

Missions (144) / Solutions (147)
Best solutions / Newest solutions
Initiation
One liner
Sum Numbers
isdigit
sum
if-comprehension
list-comp
split
One-line comprehension
Count Digits
isdigit
if-comprehension
list-comp
comprehension
int
lstrip
Beginning Zeros
lstrip
int
str
len
wrap
Split Pairs
textwrap.wrap
wrap
textwrap
list
str
1
First
End Zeros
rstrip
int
str
len
str_len
Number Length
int
str
len
splice
Backward String
str
First
Acceptable Password I
bool
str
len
One liner
Correct Sentence
endswith
upper
inline-if
str
2
One-line comprehension
Max Digit
max
list-comp
comprehension
int
str
Home
First
Backward Each Word
join
list-comp
split
comprehension
str
1
filter
Non-unique Elements
filter
lambda
count
2
First
Date and Time Converter
join
split
comprehension
int
str
First
Morse Decoder
capitalize
strip
split
for
Simple
Days Between
date
datetime.date
datetime
abs
First
Between Markers
find
inline-if
str
len
if
First
First Word
replace
split
str
3
First
Sun Angle
enumerate
or
print
split
else
First
Second Index
enumerate
None
not
elif
False
Electronic Station
Second
Acceptable Password V
all
any
map
isdigit
bool
15
First
Acceptable Password V
all
any
map
isdigit
bool
18
3
First
Acceptable Password IV
all
any
map
isdigit
bool
First
Find Sequence
zip
map
join
in
False
First
Acceptable Password III
all
any
map
isdigit
bool
First
Surjection Strings
enumerate
bool
in
False
True
First
Acceptable Password II
any
map
isdigit
bool
and
One line
All Upper II
any
upper
map
isalpha
bool
First
Boolean Algebra
not
elif
if
Stack solution
Brackets
pop
set
in
elif
False
First
Verify Anagrams
collections.Counter
Counter
collections
replace
lower
1
Scientific Expedition
comprehensions
Sum by Type
Tuple
typing.Tuple
type
typing
sum
6
1
First
Conversion into CamelCase
capitalize
join
list-comp
split
comprehension
6
One liner
Goes Right After
find
index
bool
set
sorted
20
Max
Latest ISO datetime
max
str
1
First
Call to Home
values
in
else
int
for
Messy
YAML. More Types
strip
pass
dict
tuple
continue
First
Remove Accents
category
unicodedata.category
normalize
unicodedata.normalize
unicodedata
Simple
YAML. Simple Dict
dict
isdigit
if-comprehension
split
comprehension
1
one_liner
Conversion from CamelCase
lower
inline-if
join
in
list-comp
First
Cipher Map
zip
enumerate
while
if-comprehension
True
1
First
Striped Words
findall
re.findall
r-string
upper
continue
3
First
Time Converter (24h to 12h)
split
else
int
str
if
Second
Bird Language
enumerate
pop
join
in
elif
1
Regex and loop Solution
Striped Words
findall
re.findall
r-string
upper
continue
First
Bird Language
enumerate
pop
join
in
elif
A tribute
I Love Python!
First
Pangram
upper
remove
replace
in
False
O'Reilly
reduce + sorted
The Final Stone
reversed
functools.reduce
reduce
functools
abs
2
Datetime solution
Time Converter (12h to 24h)
datetime.strptime
strptime
datetime.datetime
upper
datetime
1
One-line comprehension
Chunk
typing.Iterable
Iterable
typing
range
list
First
Time Converter (12h to 24h)
elif
and
split
else
int
1
First
How Deep
TypeError
iter
except
try
max
Count
Majority
bool
count
False
True
list
First
Replace Last
pop
inline-if
list
1
First
Index Power
inline-if
list
int
len
generator
Remove All After
yield
typing.Iterable
Iterable
typing
False
First
Median
sort
else
len
if
Incinerator
First
The Warriors
class
bool
while
elif
False
5
3
new_series
Army Battles
class
staticmethod
property
decorator
remove
17
2
First
Capital City
class
super
type
if
First
Party Invitations
class
TypeError
raise
isinstance
remove
First
Text Editor
class
format
append
else
if
1
First
Dialogues
class
fromkeys
dict
None
in
2
First
3 Chefs
class
int
str
First
Army Units
class
raise
First
Every Person is Unique
class
or
join
elif
and
First
Multicolored Lamp
class
else
if
1
Second
Dialogues
class
pass
None
in
append
First
Voice TV Control
class
type
in
elif
range
First
The Vampires
class
staticmethod
decorator
pop
bool
1
Second
The Vampires
class
staticmethod
decorator
pop
bool
First
The Defenders
class
staticmethod
decorator
pop
bool
Second
Multicolored Lamp
class
Second
The Warriors
class
bool
while
elif
False
1
First
Army Battles
class
staticmethod
decorator
pop
bool
new_series
The Warriors
class
bool
while
elif
False
First
Friends
class
difference
union
remove
set
Mine
First
The Einstein Problem-Lite
itertools.product
product
all
itertools
index
17
First
Caesar Cipher (decryptor)
ascii_lowercase
string.ascii_lowercase
dict-comp
string
items
First
Cut Sentence
strip
split
else
len
for
1
First
The Greatest Common Divisor
math.gcd
gcd
functools.reduce
reduce
functools
1
First
Binary Count
bin
count
First
Caesar Cipher (encryptor)
chr
ord
enumerate
join
in
Ice Base
Simple
Reverse Roman Numerals
for
if
First
How to Find Friends
chain
itertools.chain
set-comp
any
itertools
First
Morse Encoder
strip
lower
else
for
if
1
First
Long Repeat
findall
re.findall
re
max
len
First
Roman Numerals
while
for
First
The Most Numbers
min
max
not
inline-if
Alice In Wonderland
First
Zigzag Array
reversed
List
typing.List
map
index
First
When is Friday?
datetime.timedelta
timedelta
datetime.datetime
datetime
while
First
Middle Characters
else
len
if
1
Second
Middle Characters
else
len
if
First
The Fastest Horse
datetime.time
time
datetime
index
min
First
Long Non Repeat
max
count
False
append
True
1
GitHub
First
Painting Wall
sort
enumerate
pop
max
lambda
1
1
First
The Most Frequent Weekdays
set-comp
date
datetime.date
datetime
sorted
18
First
The End of Other
set-comp
endswith
bool
if-comprehension
and
1
First
Expand Intervals
from_iterable
itertools.from_iterable
chain
itertools.chain
itertools
1
Dropbox
First
Numbers Factory
sort
break
while
False
append
3
First
Worth of Words
index
max
sum
append
list-comp
First
The Longest Palindromic
max
lower
append
range
len
Second
Numbers Factory
sort
break
while
append
True
First
Simple Hashlib
hashlib.new
new
hashlib
update
1
First
Speech Module
KeyError
strip
except
try
lower
PyCon TW
Recursive
Robot Sort
copy.deepcopy
deepcopy
copy
type
f-string
8
First
Digit Stack
pop
elif
and
append
split
Storage
First
Skew-symmetric Matrix
zip
False
True
list-comp
list
One-line comprehension
Skew-symmetric Matrix
zip
list-comp
comprehension
Walrus :=
Word Pattern
all
bin
lstrip
enumerate
isalpha
HubSpot
First
Non Empty Lines
strip
if-comprehension
list-comp
split
comprehension
Recursive
Restricted Sum
len
if
1
Blizzard
Clear
Stressful Subject
punctuation
string.punctuation
endswith
f-string
re.search
Factorial decomposition
Permutation Index
math.factorial
factorial
Tuple
typing.Tuple
reversed
1
Lehmer Code
Reversed Permutation Index
itertools.count
divmod
reversed
itertools
List
Dynamic and Recursive
Stair Steps
functools.lru_cache
lru_cache
decorator
functools
max
First
Weekend Counter
datetime.timedelta
timedelta
datetime
in
range
1
First
The First Working Day
datetime.timedelta
timedelta
as
date
datetime.date
First
Unlucky Days
datetime.datetime
datetime
range
for
if
2
First
Stair Steps
max
elif
len
if
2
Any
Stressful Subject
punctuation
string.punctuation
endswith
f-string
re.search
First
The Angles of a Triangle
math.degrees
degrees
math.acos
acos
round
Rock
reduce
Sort by Removing
functools.reduce
reduce
functools
remove
max
Shelter
First
Completely Empty
TypeError
iter
except
try
not
3
First
The Nearest Square Number
round
Second
Ghosts Age
math.sqrt
sqrt
math
or
if-comprehension
First
Ghosts Age
math.sqrt
sqrt
math
continue
or
3
Codeship
default dict method
Probably Dice
collections.defaultdict
defaultdict
items
round
collections
9
1
Second
Probably Dice
collections.defaultdict
defaultdict
items
round
collections
14
1
Hermit
comprehension
Count Consecutive Summers
math.sqrt
sqrt
math
sum
list-comp
First
The Good Radix
ord
isdigit
max
range
int
Watchtower
First
Rotate Hole
all
if-comprehension
list-comp
range
comprehension
Escher
simple
The Secret Room
KeyError
strip
index
except
try
2
First
Ground for the House
splitlines
yield
zip
enumerate
min
11
First
Graphical Key
remove
max
not
or
sum
11
1
Simplified
Card Game
remove
or
sorted
if-comprehension
in
12
2
First
The Stone Wall
splitlines
reversed
zip
index
min
14
2
object_oriented
Treasures
class
property
decorator
f-string
index
15
1
First
Wild Dogs
math.hypot
hypot
combinations
itertools.combinations
itertools
18
recursive_solution recursive_solution
The Buttons
set-comp
map
not
or
sum
1
Simple
Card Game
remove
in
elif
False
True
5
First
Compass, Map and Spyglass
enumerate
index
abs
max
lambda
Second
Compass, Map and Spyglass
dict-comp
enumerate
abs
max
lambda
First
Safe Code
startswith
eval
replace
not
or
First
The Secret Room
KeyError
strip
index
except
try
one_liner
The Ship Teams
or
sorted
if-comprehension
and
list-comp
1
Second
The Ship Teams
map
or
sorted
if-comprehension
list-comp