Question: ` ` ` Q 9 ( Lists ) . What is the output of following code?! data = [ [ Cersei

```
"""Q9(Lists).
What is the output of following code?"!"
data =[
["Cersei Lannister" ,30, "Stark" ],
["Arya Stark" ,40, "Targaryen" ],
["Daenerys Targaryen" ,40, "Targaryen" ],
["Jon Snow" ,40, "Lannister" ],
["Tyrion Lannister" ,35, "Lannister" ],
]
print(data[-1][::-1][::-1])
```
'retsinnaL noiryT'
['Lannister',35, 'Tyrion Lannister']
'retsinnaL'
['Tyrion Lannister', 35, 'Lannister']
` ` ` " " " Q 9 ( Lists ) . What is the output of

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 Programming Questions!