Python写了下面的代码:classHuman:defsay(tell,text):print'@%s%s'%(tell,text)p=Human()p.say('Paul','hello')运行后报错,提示:Traceback(mostrecentcalllast):File"Untitled.py",line6,inp.say('Paul','hello')TypeError:say()takesexactly2arguments(3given)可是我的say()只有两个参数啊
郎朗坤
有只小跳蛙
随时随地看视频慕课网APP
相关分类