Do you know the offside rule in football*?Or do you want to test whether someone else knows it well enough?Either way, it's time to write an offside rule quiz in Python using object-oriented programming.(*Some of you may call it "soccer") Here's what the quiz will look like.The program presents you with 10 scenarios and you need to guess whether there's an offside position.
[
Collection
]
[
|
...
]