You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a novice coder, it’s tempting to see the = character in a variable assignment statement (e.g. num = 6) as representing arithmetical identity. So, interchangeability characterizes the = notation that many novice programmers will have encountered before. This can lead to problems associated with erroneously switching the left/right position of the declared variable and the assigned value. The addition of a brief note reinforcing assignment ordering rigidity could be valuable.
Printing vs. Concatenating
Within the same lesson, there are multi-argument print calls (“Use print to display values” sub-section) that combine variables via , notation. In the subsequent lesson Data Types and Type Conversion, print function concatenation is demonstrated using the + notation. The addition of a note differentiating simple printing vs. concatenation might be useful for novice coders (like me).
Happy to pull and update, if these additional notes/clarifications make sense. Thanks!
The text was updated successfully, but these errors were encountered:
Hi @Cook4986 , thank you for the comment and sorry for the much delayed reply, I'm going through some old issues. I don't disagree with either of your comments, do you have ideas on how to fix those?
Regarding the lesson Plotting and Programming in Python:
Assignment Ordering
As a novice coder, it’s tempting to see the = character in a variable assignment statement (e.g. num = 6) as representing arithmetical identity. So, interchangeability characterizes the = notation that many novice programmers will have encountered before. This can lead to problems associated with erroneously switching the left/right position of the declared variable and the assigned value. The addition of a brief note reinforcing assignment ordering rigidity could be valuable.
Printing vs. Concatenating
Within the same lesson, there are multi-argument print calls (“Use print to display values” sub-section) that combine variables via , notation. In the subsequent lesson Data Types and Type Conversion, print function concatenation is demonstrated using the + notation. The addition of a note differentiating simple printing vs. concatenation might be useful for novice coders (like me).
Happy to pull and update, if these additional notes/clarifications make sense. Thanks!
The text was updated successfully, but these errors were encountered: