Csider the following code snippet 1 list 5 2 list


Consider the following code snippet:

1. list = [ [ ] ] * 5

2. list # output?

3. list[0].append(110)

4. list # output?

5. list[1].append(200)

6. list # output?

7. list.append(230)

8. list # output?

What will be the ouput of lines 2, 4, 6, and 8?

Request for Solution File

Ask an Expert for Answer!!
Data Structure & Algorithms: Csider the following code snippet 1 list 5 2 list
Reference No:- TGS01281193

Expected delivery within 24 Hours