Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lesson Contribution - Episode 1 Introduction #953

Open
Talishask opened this issue Aug 30, 2021 · 0 comments
Open

Lesson Contribution - Episode 1 Introduction #953

Talishask opened this issue Aug 30, 2021 · 0 comments

Comments

@Talishask
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant