Question: Given that the following code has executed, what is the value of mystery? lst = [ True , 8 8 . 8 , 'berries' ]

Given that the following code has executed, what is the value of mystery?
lst =[True,88.8, 'berries']
lst.append(10)
lst.append('straw')
mystery = lst[3]+ lst[1]
Question 28 options:
98.8
'strawberries'
'berriesTrue'
99
Question 29(2 points)
Given that the following code has executed, what is the value of mystery?
lst =[True,88.8, 'berries']
lst.append(10)
lst.append('straw')
mystery = lst[1:3]
Question 29 options:
[True,88.8, 'berries']
[88.8, 'berries']
[True,88.8]
['berries',10]
[88.8, 'berries', 10]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!