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
I'm a member of The Carpentries Core Team and I'm submitting this issue on behalf of another member of the community. In most cases, I won't be able to follow up or provide more details other than what I'm providing below.
In the statement showing how variable names should be formulated, add the following rules.
In Python, variable names:
cannot be a python keyword
Ex: Say you have a minimum weight that people should pass to be considered for blood
donation, you can’t have a variable called pass since this is a python keyword.
can start with an underscore
Should be descriptive
Your variable name should tell others what it stores e.g. the weight variable will most likely
be associated with weight unlike w which could be; words, waffles, wagon etc.
The text was updated successfully, but these errors were encountered: