Be sure that you completed "Pyttern-Visualizer (Task A)" and "Pyttern-Visualizer (Task B)" before this task.
-- Task B --
You are now teaching an advanced Python class. You assigned your students to implement a Vehicle hierarchy — a base Vehicle class and a subclass (e.g., Car, Truck, Bus). You have received 12 student submissions.
You are given 5 pattern files. Your task is to build a compound pattern named ProperInheritance that combines these patterns to enforce the following rule:
Proper inheritance means: The code has a parent class and a child class that inherits from it, AND the child class calls super().__init__(), AND the __init__ method does NOT return a value, AND the code has at least one method that either returns a value directly OR has an early return inside a conditional block.
Once you have built the compound pattern, upload all 12 student code files and analyze the results.
INGInious