Task Description: Implement a simple Todo List application
You need to implement a Todo List application with the following functionalities:
Todo Class: Create a class named Todo. This class should have the following properties and methods:
A string attribute task, which represents the task description.
A boolean attribute completed, which indicates whether the task is completed or not. It should default to False.
A method mark_completed that sets the completed attribute to True.
A method __str__ that returns a string representation of the task. If the task is completed, the string should return the task description followed by " (completed)"; otherwise, just return the task description.
TodoList Class: Create a class named TodoList. This class should manage multiple Todo objects with the following functionalities:
An attribute todos, which is a list that stores instances of the Todo class.
A method add_task(task: str) that creates a Todo object with the provided task description and adds it to the todos list.
A method remove_task(task: str) that removes the first Todo object from the todos list that matches the task description.
A method get_all_tasks() that returns a list of all tasks in the form of strings using the __str__ method of the Todo class.
A method get_completed_tasks() that returns a list of completed tasks in the form of strings using the __str__ method of the Todo class.
Ensure that you write the implementation in a file called /app/solution.py.