Python To add a new element to a list we use which Python command? list1.addEnd(5) list1.add(5) list1.append(5) list1.addLast(5) list1.addEnd(5) list1.add(5) list1.append(5) list1.addLast(5) ANSWER DOWNLOAD EXAMIANS APP
Python Say s=”hello” what will be the return value of type(s) in Python? int bool str String int bool str String ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following is the use of id() function in python? Every object doesn’t have a unique id All of the mentioned None of the mentioned id returns the identity of the object Every object doesn’t have a unique id All of the mentioned None of the mentioned id returns the identity of the object ANSWER DOWNLOAD EXAMIANS APP
Python Correct way to draw a line in canvas tkinter create_line(canvas) line() None of the mentioned canvas.create_line() create_line(canvas) line() None of the mentioned canvas.create_line() ANSWER DOWNLOAD EXAMIANS APP
Python In Python, which of these in not a core data type? Class Dictionary Lists Tuples Class Dictionary Lists Tuples ANSWER DOWNLOAD EXAMIANS APP
Python Suppose list1 is [3, 4, 5, 20, 5], what is list1.index(5) return in Python? 0 4 2 1 0 4 2 1 ANSWER DOWNLOAD EXAMIANS APP