1.

Find the error def minus (total, decrement) output = total – decrement return output

Answer»

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



Discussion

No Comment Found