def step(rules, state): for rule in rules: state=rule(state) return stateit's not correctly written here i see.... i need the tabs but they are there in my python file.
I get an error saying "Error: 'str' object is not callable."
Should i use global because that doesn't seem to work either.