unicode issue
This commit is contained in:
parent
0e5b0a3ec0
commit
df0921240c
1 changed files with 3 additions and 3 deletions
|
@ -25,16 +25,16 @@ text = "Hello, World!"
|
||||||
boolean = True
|
boolean = True
|
||||||
|
|
||||||
# List: A list stores a collection of values in a specific order, and the values can be of any type.
|
# List: A list stores a collection of values in a specific order, and the values can be of any type.
|
||||||
# Lists are mutable, meaning they can be changed after they’re created (e.g., adding or removing items).
|
# Lists are mutable, meaning they can be changed after they're created (e.g., adding or removing items).
|
||||||
a_list = ["Apple", 64, 1.1, True]
|
a_list = ["Apple", 64, 1.1, True]
|
||||||
|
|
||||||
# Tuple: A tuple is similar to a list in that it can store multiple values, but it is immutable,
|
# Tuple: A tuple is similar to a list in that it can store multiple values, but it is immutable,
|
||||||
# meaning once it’s created, it cannot be changed.
|
# meaning once it's created, it cannot be changed.
|
||||||
a_tuple = ("Apple", 54, 11, 1.2, False)
|
a_tuple = ("Apple", 54, 11, 1.2, False)
|
||||||
|
|
||||||
#dict: stores a value with a key
|
#dict: stores a value with a key
|
||||||
# Dictionaries (dict) are extremely useful, they allow you to map a name (key) to a value.
|
# Dictionaries (dict) are extremely useful, they allow you to map a name (key) to a value.
|
||||||
# they are mutable, meaning they can be changed after they’re created (e.g., adding or removing items).
|
# they are mutable, meaning they can be changed after they're created (e.g., adding or removing items).
|
||||||
dictionary = {
|
dictionary = {
|
||||||
"Jan" : "January",
|
"Jan" : "January",
|
||||||
"Feb" : "February",
|
"Feb" : "February",
|
||||||
|
|
Loading…
Reference in a new issue