How we import a tkinter in python program ? import tkinter from tkinter import * import tkinter as t All of the mentioned TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following functions results in case insensitive matching? re.X re.I re.A re.U TRUE ANSWER : ? YOUR ANSWER : ?
Say s=”hello” what will be the return value of type(s) in Python? int String bool str TRUE ANSWER : ? YOUR ANSWER : ?
What does the function re.match do? matches a pattern at any position in the string none of the mentioned matches a pattern at the start of the string such a function does not exist TRUE ANSWER : ? YOUR ANSWER : ?
Python MRO concept is Method Recursion Order None of the mentioned Method Resetting Order Method Resolution Order TRUE ANSWER : ? YOUR ANSWER : ?
What arithmetic operators cannot be used with strings in Python? * + All of the mentioned – TRUE ANSWER : ? YOUR ANSWER : ?
In order to store values in terms of key and value we use what Python core data type. set list dictionary tuple TRUE ANSWER : ? YOUR ANSWER : ?
Why are local variable names beginning with an underscore discouraged in Python Programming? they are used to indicate a private variables of a class they are used to indicate global variables they slow down execution they confuse the interpreter TRUE ANSWER : ? YOUR ANSWER : ?
Which Python is used by client to opens a TCP connection to hostname? s.connect() s.bind() All of the mentioned s.accept() TRUE ANSWER : ? YOUR ANSWER : ?