Help: Stuck on Library Tactician

Please, format you code. Indents in Python are important and it’s hard to read your code. Use that link to learn how to do it: FAQ - Check Before Posting