Rate Tips

Misconception: Students think that when they create a new variable within a function, that function will automatically return that variable’s value when executed.

  • For example, students think that by assigning result = 2 in a function, the function will return 2.