April 24, 2019, 11:50 a.m. |
+ 1 |
for Comment
przemyslaw.daniel: A little bit of cleaning def translate(phrase): translated, index = '', 0 while index < len(phrase):...
|
April 24, 2019, 11:45 a.m. |
+ 1 |
for Comment
Sim0000: Line 5 of your code calls flat_list () recursively when it finds a list. But your code ignores the r...
|
April 23, 2019, 6:37 p.m. |
+ 1 |
for Comment
eugene100372: sorted(dict) gives a list of keys (and works with it during the execution), not list of lists [key,v...
|
April 23, 2019, 6:37 p.m. |
+ 1 |
for Comment
jtexpo.official: Don't forget when playing with Dictionaries to use DictionaryName.items(), that and also you may hav...
|
April 22, 2019, 8:02 p.m. |
+ 1 |
for Comment
przemyslaw.daniel: To make it simpler create variable index describing current position. Now in the loop increase the i...
|
April 22, 2019, 5:10 p.m. |
+ 1 |
for Comment
Sim0000: I rewrite your code. I hope this may help you :-) def all_the_same(elements): if not elements: retur...
|
April 5, 2019, 2:52 p.m. |
+ 1 |
for Comment
Sim0000: Your code assume input array is not empty. When elements is [], your code cause Index error in line ...
|