MatchAnalysis Part 2 — Pass

In this exercise you will create a Pass class that will later be used in a graph structure to analyze the passing behavior in a sports team.


What you need to do (2.5 points)

Create a Python class Pass with the following features:

1. Instance variables (0.5 points)

2. Constructor (0.5 points)

3. Methods (1.5 points)


Testing (0.5 points)

Create the following test scenario: