You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python Koans is an interactive tutorial for learning Python by making tests pass.
9
+
Python Koans is an interactive tutorial for learning Python by making tests pass.
10
10
11
11
Most tests are 'fixed' by filling the missing parts of assert functions. Eg:
12
12
@@ -40,7 +40,7 @@ Installing Python Koans
40
40
41
41
Aside from downloading or checking out the latest version of Python Koans, all you need to install is Python.
42
42
43
-
At this time of writing there are two versions of the koans, one for use with Python 2.6 and one for Python 3.1. You should be able to work with newer Python versions, but older ones will likely give you problems.
43
+
At this time of writing there are two versions of the koans, one for use with Python 2.6 and one for Python 3.1. You should be able to work with newer Python versions, but older ones will likely give you problems.
44
44
45
45
You can download Python from here:
46
46
@@ -99,11 +99,11 @@ Getting the Most From the Koans
99
99
100
100
Quoting the Ruby Koans instructions::
101
101
102
-
"In test-driven development the mantra has always been, red, green,
102
+
"In test-driven development the mantra has always been, red, green,
103
103
refactor. Write a failing test and run it (red), make the test pass
104
104
(green), then refactor it (that is look at the code and see if you
105
105
can make it any better. In this case you will need to run the koan
106
-
and see it fail (red), make the test pass (green), then take a
106
+
and see it fail (red), make the test pass (green), then take a
107
107
moment and reflect upon the test to see what it is teaching you
108
108
and improve the code to better communicate its intent (refactor)."
0 commit comments