Home / MCQ Bank / Computer
Computer Functions In Python Difficulty: Medium

Which type of copy is shown in the following python code? l1=[[10, 20], [30, 40], [50, 60]] ls=list(l1) ls [[10, 20], [30, 40], [50, 60]]

Select the correct option to test your answer:

More Computer Questions

Which keyword is used to define an exception class in Ruby? Ctrl + Y Shortcut is used in Microsoft Word to_____________? Which of the following is a disadvantage of replication? What is the process called when a new class is created by inheriting properties and behaviors from an existing class in C++? What is the purpose of the method localeCompare()?