fix(curriculum): remove mention of loops in introduction to variables script (#67069)

This commit is contained in:
Jessica Wilkins
2026-04-22 15:41:59 -07:00
committed by GitHub
parent cfeafc6e56
commit f5c06302eb
@@ -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? 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. 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.
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.
In Python, comments start with a pound symbol (`#`), and the language ignores everything after the `#` symbol on that line: In Python, comments start with a pound symbol (`#`), and the language ignores everything after the `#` symbol on that line: