22
Last seen 7 hours ago
Member for 2 years, 3 months, 15 days
Difficulty Easy
I'm here to learn / improve my Python skills and help other people if possible.
Strings and Integers
Using reduce - Not the obvious way of solving it
Maximum Among Three
1
0
0
Using string.capwords - Explained
Conversion into CamelCase
8
16
0
The title nailed it
All Permutations
29
0
0
zip_longest, set and try/except solves this
Longest Common Prefix
34
0
0
datetime with try/except
Convert Date
37
0
0
Not too difficult. Should be self-explanatory.
Reverse Integer
37
0
0
Just calculating it, without importing anything
Leap Year Checking
38
0
0
Why reinvent the wheel - Import calendar
Leap Year Checking
39
0
0
Should be self-explanatory
Just Fizz!
40
6
1
Nothing special here
Rectangle Perimeter
42
0
0
Just sum a range
Sum of Integers
42
0
0
Should be easy to understand
Armstrong Number Checking
42
0
0
Just using modulo
Find Remainder
43
0
0
Nested inline if statements
Integer Sign Determination
53
0
0
Just import factorial
Number With Exclamation
54
0
0
Not the shortest, but explained.
Excel Column Number
55
0
1
Should be self-explanatory
Goes Right After (simplified)
57
0
0
zip_longest solves it here
Fuzzy String Matching
58
0
0
Using max solves it
The Longest Word
64
0
0
Explained
Goes Right After
75
5
4
The function named it
Convert To Title Case
75
0
0
Replace Method
Replace All Occurrences
76
0
0
Nothing special
Middle Characters
91
0
0
Should be easy to understand
Count Vowels
91
0
0
Explained
Cut Sentence
95
2
0
Beginner's Solution
The Most Wanted Letter
264
5
1
Should be self-explanatory
Bird Language
389
3
1
Beginner's solution in one line
All Upper I
532
1
0
Using Modulo
Is Even
558
1
2
Explained
Conversion into CamelCase
630
0
0
Should be easy to understand
Conversion from CamelCase
633
0
1
Beginner's solution
Sum Numbers
677
1
0
Beginner's solution
Digits Multiplication
736
2
1
Should be self-explanatory
First Word
929
1
0
Simple and Explained
Beginning Zeros
951
0
1
Should be easy to understand
Three Words
4287
0
1
Easy task, easy solution
First Word (simplified)
21270
0
0
List but not the least
Explained
Stock Profit
1
7
0
Should be easy to understand
Sort by Extension
5
0
0
Explained
Reverse Every Ascending
6
18
2
Explained - Kept simple
Changing direction
9
7
2
Short and Explained
Compress List
36
8
2
Explained - Using Pairwise and only one loop
Missing Number
40
0
0
Explaination of a Beginner
The Most Frequent
43
8
0
Just a loop and extend / append
Duplicate Zeros
44
0
0
Should be self-explanatory
Replace First
116
6
3
Beginner's solution
Non Empty Lines
118
0
0
Explained
Sort Except Zero
152
3
2
Using Array - Explained
Remove All After
153
3
1
Beginner's solution
Words Order
187
2
1
Not the shortest but explained
Zigzag Array
205
0
0
count() and islice() from itertools explained
Zigzag Array
206
0
0
Easy one - Commented
Follow Instructions
228
2
0
Should be easy to understand
Right to Left
229
8
0
Should be easy to understand
Chunk
246
0
1
Short with explanation
Frequency Sorting
461
0
0
Sorting with key
Absolute Sorting
484
4
0
Using lambda for that small piece of code
Easy Unpack
502
2
1
Not a one-liner. Commented.
Ascending List
554
0
1
Beginner's solution
Remove All Before
652
1
1
sum + count instead of len - Just because ;-)
Majority
661
0
0
Beginner's solution
Backward Each Word
744
0
0
Nothing special here
Index Power
805
2
2
Using Set - With Comments
All the Same
2088
0
2
Beginner's solution
Median
3252
0
2
Using the hint list.count()
Non-unique Elements
7196
0
0
Look up in the Dict()
Using eval and suppress - Explained
Aggregate by Operation
14
3
1
Not the shortest, but with explanations
Move Zeros
33
0
1
Beginner's solution - Explained
What Is Wrong With This Family?
57
3
0
Without defaultdict - Explained
Switch Keys to Values
58
0
0
Should be easy to understand
Boolean Algebra
375
2
1
Explained
Golden Pyramid
484
0
0
Difference between isdigit(), isnumeric() and isdecimal()
Count Digits
570
1
0
Used itemgetter to avoid lambda
Bigger Price
976
1
1
Explained - Using Collections and Re
Popular Words
1436
0
2
Short and Explained
Verify Anagrams
1844
0
2
Beginner's solution
Pawn Brotherhood
3512
0
0
Strings Theory
Just a loop, sum and map - Explained
Sum of Digits
11
6
0
Using regex.finditer and translate - Should be easy to understand
Currency Style
18
5
3
Not the shortest, but explained.
Reveal the Number
19
0
0
Beginner's solution
The Nearest Square Number
20
5
0
No need to convert
Correct Capital
36
1
2
Should be easy to understand
Acceptable Password VI
37
5
1
Use String Method
Is String a Number?
45
0
0
Used an Iterator - Explained
Adjacent Letters
47
0
0
Explained
Acceptable Password I
52
8
1
Regex Rookie
Stressful Subject
79
5
0
Explained
The Longest Palindromic
80
5
2
Not the shortest solution, but explained.
Acceptable Password IV
85
3
2
Without regex - Adapted for tests added in Dec. 2022
Is String a Number? (Part II)
86
0
0
Explained
Double Substring
87
2
0
Explained
Morse Encoder
122
3
2
Didn't know better before seeing other solutions
Currency Style
156
0
0
Not a one-liner. Commented.
Surjection Strings
222
1
1
Should be easy to understand
Speech Module
224
5
2
Should be easy to understand
Long Repeat
272
3
2
Beginner's solution
Acceptable Password V
378
0
0
Explained
All Upper II
515
0
1
Explained
Common Words
560
2
0
Should be self-explanatory
Second Index
572
2
0
Should be easy to understand
Friendly Number
593
0
0
Should be self-explanatory
Pangram
650
1
1
Explained
Letter Queue
770
0
4
Should be easy to understand
Morse Decoder
798
0
0
No idea how to do better
Between Markers
1031
0
0
Sets and Difference - Explained and not too long
Striped Words
1113
0
0
Should be easy to understand
Sun Angle
1344
0
0
Should be easy to understand
Brackets
1907
0
2
Beginner's solution
House Password
3645
0
3
List, list and list again
Second solution - Using setdefault
Convert and Aggregate
2
27
2
For changed mission - Explained
Integer Palindrome
7
6
4
Explained
Convert and Aggregate
9
5
2
Should be easy to understand
Colorful Disks
25
0
0
Explained - Using list as "fifo"
Median of Three
30
6
2
Short one with an import
Colorful Disks
30
0
0
Should be easy to understand
Factorial Zeros
31
0
0
Clear, short and explained
Replace with Biggest
40
0
0
Permutations - Explained
Most Efficient Cutting
50
0
0
Explained
Count Inversions
58
5
1
Explained
Replace Last
85
5
1
Should be easy to understand
Xs and Os Referee
101
9
3
Beginner's solution
Sum by Type
164
0
0
New for me
Determine the Order
176
0
0
Not a one-liner - Explained
Split List
248
3
1
Should be self-explanatory
Split Pairs
253
3
1
Two Variants - Without and with list compression
Sort Array by Element Frequency
622
1
1
Short one without importing math but commented.
Split List
871
0
0
Recursion - Commented
Flatten a List
1171
0
1
Using itertools.combinations
Loading Cargo
1577
0
0
Different kind of sets
Not a one-liner. Commented.
Shorter Set
11
6
0
Beginner's solution
Nearest Value
66
7
2
Just a combination from the expand + create intervals tasks
Merge Intervals
200
0
0
Not too difficult. Should be self-explanatory.
Expand Intervals
277
0
0
Simple and Explained
Create Intervals
365
0
0
Mine
Simple and Explained
Common Tail
20
1
0
Using Enumeration - Explained
Reverse Roman Numerals
26
7
2
Pretty easy. Should be self-explanatory.
Latest ISO datetime
89
0
0
Slightly creative - Easy and explained
Funny Addition
121
0
0
Ice Base
Not too difficult. Should be self-explanatory.
Dangerous Bishops
14
0
0
Short, but not a one-liner
Caesar Cipher (encryptor)
91
5
2
Using Itertools - Explained
Feed Pigeons
109
5
2
Should be self-explanatory
The Greatest Common Divisor
454
0
0
Explained
The Hidden Word
475
0
0
Without reduce - 3.9 adds support for an arbitrary number of arguments
The Greatest Common Divisor
477
0
0
Should be easy to understand
The Most Numbers
4273
0
2
Set default for max/min instead of using if
The Most Numbers
4302
0
0
The Game is Worth it!
Simple and Explained
The Final Stone
7
0
0
GitHub
Should be easy to understand - with comments
Roman Numerals
200
10
1
Filter and Lambda used
Secret Message
329
5
2
Short and Explained
Moore Neighbourhood
460
2
1
Explained with Alternative Return
Binary Count
581
2
2
Nothing special but with some comments
The Angles of a Triangle
1406
0
0
Dropbox
Explained - Used Numpy
Determinant
8
4
2
Explained
How Much Gold
101
0
0
Second to use Fraction
How Much Gold
194
0
1
Formula and its source
Achilles and the Tortoise
460
0
1
Everything is Object
Abstract - Comments may not be entirely correct
Geometry Figures
45
0
0
Solution of a Beginner - Hopefully explained correctly
The Warriors
327
2
0
Master of the Time Stone
Not the shortest but explained
Lightbulb Start Watching
23
5
0
As multiline and one-liner - Explained
Lightbulb Intro
54
5
2
Should be self-explanatory
Date and Time Converter
154
4
0
Didn't know better before seeing other solutions
Group Equal consecutive
217
0
1
Beginner's solution
When is Friday?
248
0
2
Should be easy to understand
Time Converter (12h to 24h)
397
0
0
Short and Explained
Days Between
593
3
0
Should be easy to understand
Time Converter (24h to 12h)
752
0
0
Blizzard
Tried to understand solution of Phil15
Fast Train
17
0
1
Not the shortest, but explained.
Simple Hashlib
95
2
2
Second - Using hashlib.new() instead of getattr()
Simple Hashlib
96
2
0
Convert and Compare - Explained
Word Pattern
273
0
0
Rock
Nothing special here, but clean
The Brick Factory Problem
5
5
1
Should be self-explanatory
Sort by Removing
62
1
0
Using itertools.accumulate - Explained
Sort by Removing
63
1
0
Not the shortest but explained
Find Quotes
84
5
2
Solution of a Rookie
Caesar Cipher (decryptor)
259
0
0
Codeship
Don't know better
Ugly Numbers
8
0
0
Hermit
Enumerate gives the index for LETTERS
Ryerson Letter Grade
131
0
0
Not On Map
Using len()
Length of the String
9
4
0