python-novice-inflammation
python-novice-inflammation copied to clipboard
Lesson Contribution - Episode 1 Introduction
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
Ex: _weight
- 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.