diff --git a/curriculum/challenges/english/07-scientific-computing-with-python/python-for-everybody/comparing-and-sorting-tuples.english.md b/curriculum/challenges/english/07-scientific-computing-with-python/python-for-everybody/comparing-and-sorting-tuples.english.md index 691b223ee6..6caa719faa 100644 --- a/curriculum/challenges/english/07-scientific-computing-with-python/python-for-everybody/comparing-and-sorting-tuples.english.md +++ b/curriculum/challenges/english/07-scientific-computing-with-python/python-for-everybody/comparing-and-sorting-tuples.english.md @@ -31,7 +31,7 @@ question: answers: - | ```python - print( sorted( [ (v,k) for k,v in counts.items() ] ) ) + print( sorted( [ (v,k) for k,v in counts.items() ], reverse=True ) ) ``` - | ```python diff --git a/curriculum/challenges/english/08-data-analysis-with-python/numpy/copying-arrays-warning.english.md b/curriculum/challenges/english/08-data-analysis-with-python/numpy/copying-arrays-warning.english.md index 2486a9b51b..71e33c2663 100644 --- a/curriculum/challenges/english/08-data-analysis-with-python/numpy/copying-arrays-warning.english.md +++ b/curriculum/challenges/english/08-data-analysis-with-python/numpy/copying-arrays-warning.english.md @@ -28,11 +28,11 @@ question: answers: - | - `[1, 2, 3, 4, 5]` + `[1 2 3 4 5]` - | - `[1, 2, 20, 4, 5]` + `[1 2 20 4 5]` - | - `[1, 20, 3, 4, 5]` + `[1 20 3 4 5]` solution: 2 ```