Which of the following is the use of id() function in python? None of the mentioned id returns the identity of the object All of the mentioned Every object doesn’t have a unique id TRUE ANSWER : ? YOUR ANSWER : ?
In which of the following field, we can put our Button? Label Window Frame All of the mentioned TRUE ANSWER : ? YOUR ANSWER : ?
To add a new element to a list we use which Python command? list1.append(5) list1.add(5) list1.addEnd(5) list1.addLast(5) TRUE ANSWER : ? YOUR ANSWER : ?
In order to store values in terms of key and value we use what Python core data type. dictionary tuple list set TRUE ANSWER : ? YOUR ANSWER : ?
What is the maximum possible length of an identifier allowed by Python? 31 characters 63 characters 79 characters None of the mentioned TRUE ANSWER : ? YOUR ANSWER : ?
How we import a tkinter in python program ? All of the mentioned from tkinter import * import tkinter import tkinter as t TRUE ANSWER : ? YOUR ANSWER : ?
What is the output of print 0.1 + 0.2 == 0.3 in python? Error True Machine dependent False TRUE ANSWER : ? YOUR ANSWER : ?
How many except statements can a try-except block have? more than zero zero one more than one TRUE ANSWER : ? YOUR ANSWER : ?
Correct way to draw a line in canvas tkinter create_line(canvas) canvas.create_line() line() None of the mentioned TRUE ANSWER : ? YOUR ANSWER : ?