Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion sigmoid_check/python_odyssey/lesson_10/lesson.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,4 +445,23 @@ def check_task_24(self, func):
def get_completion_percentage(self):
"""Return the completion percentage of the tasks"""
completed = sum([1 for task in self.status_tasks if self.status_tasks[task]])
return f"Your completion percentage is {completed * 100 / len(self.status_tasks)}%"
return f"Your completion percentage is {completed * 100 / len(self.status_tasks)}%"


def show_help():
help_text = """
Welcome to the Exercise Testing Library!

This library is designed to help you test your solutions to various exercises.

How to Use:
- Each class in this library corresponds to a specific lesson.
- To test your solution, instantiate the class and call the `check_task_task-number` method, passing your function as an argument.

Example:
lesson = Lesson10()
print(lesson.check_task_1(my_function))

Enjoy the process!
"""
print(help_text)