12
Keith Sanders
http://www.canofworms.com/
Last seen 8 months ago
Member for 9 years, 6 months, 22 days
Difficulty Normal
Initiation
First
The Most Frequent
56
0
1
Used try except to let code fail gracefully
Remove All Before
60
0
0
Brute force using string conversion to separate digits
Max Digit
78
0
0
walk though characters until one isn't 0
Beginning Zeros
83
0
0
Fancy list comprehension
Split Pairs
108
0
0
First
Between Markers (simplified)
133
0
0
First
First Word (simplified)
148
0
0
Using built-in upper function to enable comparison
All Upper I
223
0
0
Can't get much simpler
Acceptable Password I
239
2
0
Nothing special
Count Digits
246
0
0
Tricky - needs to be more elegant
Nearest Value
270
0
0
Probably not the simplest, but it's hopefully clear.
End Zeros
427
1
0
Trying to keep it simple
Number Length
436
1
0
Using slice to reverse string
Backward String
440
2
0
In python, unlike golf, slicing is good
Replace First
478
1
0
Use modulus operator to check for even
Is Even
479
1
0
Just using try - except to eliminate non integers
Sum Numbers
601
1
2
First
All the Same
747
0
0
First
Easy Unpack
936
0
0
Home
First
Right to Left
41
1
0
Using Regex
Three Words
42
2
0
Used the collections library to give a big assist.
Sort Array by Element Frequency
160
5
0
Get to use some integer math
Split List
201
0
0
Brute force - couldn't think of anything elegant
Backward Each Word
237
0
0
Did a kludge to get around spaces in the string.
Morse Decoder
295
0
0
First
Even the Last
429
4
0
First
Days Between
1209
0
0
Verbose, but commented; wanted to try out "sets" as part of the solution
Pawn Brotherhood
1726
0
0
Electronic Station
Continuing to add rules for password validation
Acceptable Password V
94
0
0
First solve - should be able to improve on this
Sort by Extension
112
0
0
Basic with rule to eliminate 0 and 1 length lists
Ascending List
114
0
0
Adding more rules to the password routine
Acceptable Password IV
115
0
0
Added an alpha check to the digit check
Acceptable Password III
125
0
0
First Solve of Words Order
Words Order
159
0
0
Lots of rules where the order matters
Acceptable Password VI
323
0
0
Eliminate empty strings and digits then check for upper case
All Upper II
419
0
0
Used isdigit() to make sure the password contained a digit
Acceptable Password II
462
0
0
May be overkill - ignores most punctuation
Verify Anagrams
486
2
1
Scientific Expedition
First
I Love Python!
596
0
0
First
Bird Language
840
0
0
O'Reilly
First
Count Inversions
425
0
0
First
Flatten a List
691
0
1
First
Index Power
1549
0
0
Mine
First
Binary Count
1135
0
1
First
Fizz Buzz
2271
0
0
Ice Base
A little tricky with handling spaces in the message
Morse Encoder
141
0
0
First
Long Repeat
792
0
0
Used max(args)-min(args)
The Most Numbers
1334
0
0
First
Monkey Typing
1550
0
0
GitHub
First
The End of Other
1382
0
1
Dropbox
First time I added a function to help in the solution
Worth of Words
143
0
0
HubSpot
First
Number Base
1133
0
0
Recursion was the only thing I could think of
Restricted Sum
1574
0
0