Nov. 2, 2014, 11:34 p.m. |
+ 1 |
for Comment
dsnyder0cnn: Not sure why it never occurred to me to use mod or divmod() to solve this, but this looks like a nic...
|
Nov. 2, 2014, 4:54 p.m. |
+ 1 |
for Comment
rbrian: I really like this. I am guessing count returns a dictionary as count.values is used on the next lin...
|
Sept. 7, 2014, 5:56 p.m. |
+ 1 |
for Comment
aotus: I did not bother with the integer conversions. In Python, False == 0, and True == 1.
|
Sept. 2, 2014, 8:39 p.m. |
+ 1 |
for Comment
johndrunner: I learned a lot from this one after spending time sifting through doc.python.org. Thank you for shar...
|
Aug. 30, 2014, 9:54 p.m. |
+ 1 |
for Comment
rbrian: Many thanks for the link and teaching me something new.
|
Aug. 27, 2014, 6:08 p.m. |
+ 1 |
for Comment
rbrian: I like the way you do your comments very neat. I will start doing the same.
|
Aug. 27, 2014, 5:28 p.m. |
+ 1 |
for Comment
hanpari: Line 1 and 2 def count_words(text, words): ''' (str, set) -> int can be merged together like this to...
|
Aug. 21, 2014, 9:56 p.m. |
+ 1 |
for Comment
rbrian: Hi I noted the following PEP8 advice in a comment the other day: For sequences, (strings, lists, tup...
|