Exercise: Create Python List I
Here, we try to create a list of numbers, but the code is incomplete. Complete it to create a valid list. The
print
statement should output True
.# create list here...
numbers = 1, 2
# check if length of numbers equals 3
print(len(numbers) == 3)
# expected output: True
Python
Setting up Python environment...
Output