Nov-19-2019, 08:06 PM
If you look here and read the docs
@interact() is a decorator for functions
There is no function following your @interact() that can be decorated.
Remove that @ character.
Just copy pasting code and not knowing what you are doing is wasting time. Ours and yours.
@interact() is a decorator for functions
There is no function following your @interact() that can be decorated.
Remove that @ character.
Quote:The @interact is just the same line of code they show in a worked example, and it's worked for a previous exercise. I don't really know what the specific syntax means
Just copy pasting code and not knowing what you are doing is wasting time. Ours and yours.