NaN

Acronym for “not a number”. The error message appears when the return of a code is not a number when a number is supposed to be returned.

Error Message
Bug example ✘ Source of error: Only a number, not a list of numbers, can multiply by 4 directly.
NaN Bug Example 1.png
Correction ✔ Solution: Multiply each item in the list by 4 in a For loop.
NaN Correction 1.png

results matching ""

    No results matching ""