mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-30 16:01:14 -04:00
fix(curriculum): updated comprehension check question for python variables lesson (#64536)
This commit is contained in:
@@ -81,11 +81,11 @@ However, you shouldn't use comments to explain what your variable names mean. In
|
||||
|
||||
## --text--
|
||||
|
||||
How do you declare a variable in Python?
|
||||
Which of the following is the correct way to declare a variable in Python?
|
||||
|
||||
## --answers--
|
||||
|
||||
Using the `let` keyword.
|
||||
`let age = 25`
|
||||
|
||||
### --feedback--
|
||||
|
||||
@@ -93,7 +93,7 @@ Python doesn't require keywords for variable declaration.
|
||||
|
||||
---
|
||||
|
||||
Declaring with `const`.
|
||||
`const age = 25`
|
||||
|
||||
### --feedback--
|
||||
|
||||
@@ -101,7 +101,7 @@ Python doesn't require keywords for variable declaration.
|
||||
|
||||
---
|
||||
|
||||
Using the `var` keyword.
|
||||
`var age = 25`
|
||||
|
||||
### --feedback--
|
||||
|
||||
@@ -109,7 +109,7 @@ Python doesn't require keywords for variable declaration.
|
||||
|
||||
---
|
||||
|
||||
Assigning a value with the `=` operator.
|
||||
`age = 25`
|
||||
|
||||
## --video-solution--
|
||||
|
||||
|
||||
Reference in New Issue
Block a user