Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 748 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 748 Bytes

Code Camp Lesson Notes

Lesson Notes for Code Camp

Debugging Notes

  • Kinds of Errors
    1. Syntax
    2. Runtime
    3. Semantics

ParseError

TypeError

NameError

Using an identifier that hasn't been created yet

ValueError

Questions regarding Functions

  1. Does a funtion have to have parameters? a. No

  2. What happens if we call a function without providing a value for one or more input parameters? a.

  3. Does a function have to return a value? a. yes

  4. What happens if we have a function that doesn't return a value, but we try to store a return value in a variable? a. Well, then we will get an error and this is where the program will crash.