语法错误。是不是用的python3。Python 3的print不再是语句了, 是函数。
def firstvalue(a, b): c = a + b return cprint(firstvalue(1, 2))
检查函数firstvalue参数分隔符是否是英文逗号,还有python定义函数,函数体要缩进