We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Archer Practice

Let's practice some of these class and objects concepts a bit more.

Assignment

Complete the Archer class.

The shoot method uses a type hint with a forward reference. Python resolves the string "Archer" after defining the class, so the method can refer to another Archer.