Feb. 24, 2015, 11:01 a.m. |
+ 1 |
for Comment
AlexGiesbrecht: not very clear code, but it works :)
|
Feb. 17, 2015, 10:55 p.m. |
+ 1 |
for Comment
gyahun_dash: I used [Format String](https://docs.python.org/3/library/string.html#format-examples). 0 in {} means...
|
Feb. 1, 2015, 6:03 p.m. |
+ 1 |
for Comment
Serb: bad, because if you want add det(7) you will be copy/paste.
|
Jan. 7, 2015, 8 p.m. |
+ 1 |
for Comment
veky: stack is true iff it contains at least one element - so stack[-1] and stack.pop() don't raise IndexE...
|
Jan. 6, 2015, 2:49 p.m. |
+ 1 |
for Comment
veky: Ah... as if you asked "what's the advantage of living in 21st century instead of 19th one?" :-P Ther...
|
Dec. 30, 2014, 11:08 a.m. |
+ 1 |
for Comment
bukebuer: The "principle", i.e. sum of diagonals minus sum of counter-diagnols, can be just used on determinan...
|
Dec. 22, 2014, 7:40 p.m. |
+ 1 |
for Comment
rbrian: Thanks for the reply. I tried it with no luck (invalid syntax error). I read the links and wondered ...
|
Dec. 22, 2014, 7:39 p.m. |
+ 1 |
for Comment
hanpari: It is just documentation, Try to write help(verify_anagrams) to check it. You can see this recent di...
|
Dec. 19, 2014, 2:12 p.m. |
+ 1 |
for Comment
suic: It's not a bad solution, but it can be improved: 1. [Set](https://docs.python.org/3/library/stdtypes...
|
Dec. 19, 2014, 2:05 p.m. |
+ 1 |
for Comment
suic: Hi, in python you don't need auxiliary variable to swap values of two variables. E. g. to swap the v...
|
Dec. 12, 2014, 3:03 p.m. |
+ 1 |
for Comment
Cjkjvfnby: **set(...) & set(...)** has same effect as **set(...).intersection([...])** converting list to set i...
|
Dec. 12, 2014, 1:33 a.m. |
+ 1 |
for Comment
bukebuer: date1 is like (2014, 9, 11), and datetime() also accepts three arguments such as datetime(2014, 9, 1...
|