=+ Python operator is syntactically correct -
i accidentally wrote:
total_acc =+ accuracy
instead of:
total_acc += accuracy
i searched net , not find anything. happened, why python think mean typing?
computers trust much. :)
this same if total_acc = -accuracy
, except positive instead of negative. same total_acc = accuracy
though, adding + before value not change it.
this called unary operator there 1 argument (ex: +a
) instead of 2 (ex: a+b
).
this link explains little more.
Comments
Post a Comment