Skip to main content

Timeline for My daughter's alphabet

Current License: CC BY-SA 4.0

23 events
when toggle format what by license comment
May 10, 2018 at 11:30 history edited Laikoni CC BY-SA 4.0
added byte count
Apr 21, 2014 at 23:34 comment added romaninsh Good effort. It does pre-pend a proper output with all the spaces, but seems to work OK.
Apr 21, 2014 at 19:53 comment added user344 (1) You can indent by just one space to save three bytes. (2) Use one-letter variable names, e.g. l instead of line. (3) Since you reference collections.Counter twice, you should cache it (C = collections.Counter) and use c = C() and c |= C(line.upper()). (4) You should indicate the length of your code in characters in the answer.
Apr 15, 2014 at 12:58 comment added Frankfurt good remarks guys, thank you. Sorting output is a requirement.
Apr 15, 2014 at 12:49 history edited Frankfurt CC BY-SA 3.0
deleted 18 characters in body
Apr 15, 2014 at 12:09 history edited Frankfurt CC BY-SA 3.0
deleted 7 characters in body
Apr 14, 2014 at 21:45 history edited Frankfurt CC BY-SA 3.0
deleted 85 characters in body
Apr 13, 2014 at 19:04 comment added RemcoGerlich since this is code golf, remove the with statement (just loop over a call to open) and I don't think the elements need sorting.
Apr 13, 2014 at 1:56 comment added ashastral You're missing an s at the end of the import statement and the with block lacks indentation. And since this is code golf, it would benefit you greatly to remove unnecessary whitespace where possible.
Apr 12, 2014 at 21:51 history edited Frankfurt CC BY-SA 3.0
added 162 characters in body
S Apr 11, 2014 at 15:42 history suggested p.s.w.g CC BY-SA 3.0
formatting
Apr 11, 2014 at 15:28 review Suggested edits
S Apr 11, 2014 at 15:42
Apr 11, 2014 at 14:35 comment added njzk2 does not answer the question, as you need the minimum amount of letters to write each sentence individually. In your code, you output the number of letters needed to write all sentences at the same time.
Apr 11, 2014 at 7:18 history edited Frankfurt CC BY-SA 3.0
Added import, and markdown syntax
Apr 11, 2014 at 0:14 comment added isaacg You'll need to add the characters necessary to import collections.
S Apr 10, 2014 at 22:15 review Low quality posts
Apr 10, 2014 at 22:29
S Apr 10, 2014 at 22:15 review First posts
Apr 11, 2014 at 0:37
Apr 10, 2014 at 22:10 history edited Frankfurt CC BY-SA 3.0
added 7 characters in body
Apr 10, 2014 at 22:03 history edited algorithmshark CC BY-SA 3.0
improved formatting
Apr 10, 2014 at 22:02 comment added algorithmshark Welcome to PCG! This site supports Markdown syntax, which you can use to format your code, so that it appears nice: just indent each line of code 4 spaces.
Apr 10, 2014 at 22:02 history edited Frankfurt CC BY-SA 3.0
Some code refactoring
Apr 10, 2014 at 22:00 history edited algorithmshark CC BY-SA 3.0
improved formatting
Apr 10, 2014 at 21:57 history answered Frankfurt CC BY-SA 3.0