We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ce0bbc commit 53df61eCopy full SHA for 53df61e
python3/runner/sensei.py
@@ -167,10 +167,12 @@ def scrapeInterestingStackDump(self, err):
167
return stack_text
168
169
def report_progress(self):
170
- return "You have completed {0} koans and " \
171
- "{1} lessons.".format(
+ return "You have completed {0} ({2} %) koans and " \
+ "{1} (out of {3}) lessons.".format(
172
self.pass_count,
173
- self.lesson_pass_count)
+ self.lesson_pass_count,
174
+ self.pass_count*100//self.total_koans(),
175
+ self.total_lessons())
176
177
def report_remaining(self):
178
koans_remaining = self.total_koans() - self.pass_count
0 commit comments