May-30-2020, 07:38 PM
Try using code tags as described in BBCode to make any code you post easier for people to read.
Your error in line 9 is exactly what it sounds like, Python is expecting an indented block. When you define your function initialize(), all code you want included in that function should be indented (4 spaces is the standard).
Your error in line 9 is exactly what it sounds like, Python is expecting an indented block. When you define your function initialize(), all code you want included in that function should be indented (4 spaces is the standard).
def initialize(state): state.counter = 0 # and so on...