python_koans
python_koans copied to clipboard
Python Koans - Learn Python through TDD
I'm using Python 3.8.5. According to official Python docs (https://docs.python.org/3.8/library/stdtypes.html#mapping-types-dict): > Changed in version 3.7: Dictionary order is guaranteed to be insertion order. This behavior was an implementation detail of...
Mostly just add new lines to EOF, add some spaces (before inline comments and in lists). And remove extra tabs. Feel free to amend/reject as you see fit.
It rely on issue: https://github.com/gregmalcolm/python_koans/issues/248 I suggest !=, because it more broad than is. Feel free to amend/reject as you see fit.
It's unclear what `myArray` refers to in the line below. https://github.com/gregmalcolm/python_koans/blob/800cdf5db9e8539681723ca541e03b28e2117b28/koans/about_regex.py#L83
Fixing https://github.com/gregmalcolm/python_koans/issues/250
I was confused by the comment below because it looks to me like `super()` would resolve the the parent class which is `object`. https://github.com/gregmalcolm/python_koans/blob/800cdf5db9e8539681723ca541e03b28e2117b28/koans/about_attribute_access.py#L106-L108 I substituted the line with `return...
Thanks for this work, I'm discovering nooks and crannies of Python that I wasn't previously aware of. For the following section, I wanted to point out that what seems to...
I'm trying to run ``` $ python3 contemplate_koans.py /home/sashka/python_koans/koans/about_none.py:50: SyntaxWarning: "is not" with a literal. Did you mean "!="? self.assertEqual(__, None is not 0) Thinking AboutAsserts test_assert_truth has damaged your...
Very fun to play
Assans