mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): remove mention of loops in introduction to variables script (#67069)
This commit is contained in:
+1
-3
@@ -55,9 +55,7 @@ Another convention is to avoid using single-letter variable names. This is very
|
||||
x = 56 # What do you mean by x?
|
||||
```
|
||||
|
||||
This is different if you are in a loop or something similar, as variable names like `i`, `j`, `k`, and so on are common and acceptable.
|
||||
|
||||
Also, the pound symbol (`#`) and the text that follows in the example above is called a comment. You might already be familiar with comments, so let's go over them quickly and explain how they work.
|
||||
The pound symbol (`#`) and the text that follows in the example above is called a comment. You might already be familiar with comments, so let's go over them quickly and explain how they work.
|
||||
|
||||
In Python, comments start with a pound symbol (`#`), and the language ignores everything after the `#` symbol on that line:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user