Python function definitions require a colon at the end.
Tips
memory
号 is the suffix for punctuation: 句号 (period), 逗号 (comma), 问号 (question mark), 引号 (quotes), 冒号 (colon), 分号 (semicolon). 冒 literally means 'to emit' - hinting that a colon 'emits/introduces' what follows.