Text control through property[help]

Full grown was trying to help me with making text dialogue I couldn’t get his script to work. I tried changeine it to something else like

Import bge
def main():
cont = logic.get.CurrentController
Own = cont.owner
If own.say == 1:
Own.text = “cow”
if own.say == 2:
Own.text = “mooo”
but it didn’t do anything
i had put the property say on the logic brick window and the script I made sure to add the text property.
Also please ignore the caps my iPad kept auto correcting