Exercise: Create Python List III

The code below creates a list named elements. Currently, elements doesn't satisfy the conditions specified in the print statement. Update the list so that the output is True.
num = 999 # create list here...
elements = ['str', 2]
# check list characteristics print(len(elements) == 3 and elements[1] == num) # expected output: True
Python
Setting up Python environment...
Output