Olá!
Quando eu tento rodar o código como o professor fez, direto pelo terminal do python, da erro:
Python 3.9.6 (tags/v3.9.6:db3ff76, Jun 28 2021, 15:26:21) [MSC v.1929 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.
forca.py Traceback (most recent call last): File "", line 1, in NameError: name 'forca' is not defined