Question Authors' Forum

Partial grading

 
Picture of philippe juhel
Re: Partial grading
by philippe juhel - Monday, 21 March 2016, 8:19 PM
 

Hi Richard,

Thank you for your reply and explanations. 

The solution you suggest works perfectly, you just need to write multScalaire like a String in the hasattr test : 

if hasattr(v1, 'multScalaire'):
instead of 
 if hasattr(v1, multScalaire):

Best regards,


Philippe