Find the error def minus (total, decrement) output = total – decrement return output
Find the error
def minus (total, decrement)
output = total – decrement
return output
11 views
1 Answers
The function’s header has colon missing at the end. So add colon (:) at end of header line. Thus, the correct code is
def minus (total, decrement)
output = total – decrement
return output
11 views
Answered