mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-03 01:01:13 -04:00
fix(curriculum): Add missing quote in Python list example (#56274)
This commit is contained in:
@@ -18,7 +18,7 @@ empty_list = []
|
||||
|
||||
The list is characterized by the square brackets around all the values, and a comma between the values, like: `["A", "happy", "list"]`. If the list does not contain any values, then it is an empty list: `[]`.
|
||||
|
||||
A list can contain different data types: `[1, "Up", ["Down", "Twice]]`. That includes all possible data types. It can also contain another list!
|
||||
A list can contain different data types: `[1, "Up", ["Down", "Twice"]]`. That includes all possible data types. It can also contain another list!
|
||||
|
||||
Create a variable called `my_list` and assign to it an empty list.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user