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

What is the output of the following code: my_list = [1, 2, 3] del my_list[1] print(my_list)

Select the correct option to test your answer:

More Computer Questions

What will be the output of the following Java program? class string_demo { public static void main(String args[]) { String obj = "I" + "like" + "Java"; System.out.println(obj); } } Which of these method of class StringBuffer is used to find the length of current character sequence? How to handle the exception in constructor? In 1999, the Melissa virus was a widely publicized: What will be the output of the following program? #include<stdio.h> #define prod(a,b) a*b void main() { int x=3,y=4; printf("%d", prod(x+2,y-1)); }