Python To add a new element to a list we use which Python command? list1.append(5) list1.addLast(5) list1.addEnd(5) list1.add(5) list1.append(5) list1.addLast(5) list1.addEnd(5) list1.add(5) ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following results in a SyntaxError? ”’That’s okay”’ ‘”Once upon a time…”, she said.’ “He said, ‘Yes!'” ‘3\’ ”’That’s okay”’ ‘”Once upon a time…”, she said.’ “He said, ‘Yes!'” ‘3\’ 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 None of the mentioned All of the mentioned id returns the identity of the object Every object doesn’t have a unique id None of the mentioned All of the mentioned id returns the identity of the object ANSWER DOWNLOAD EXAMIANS APP
Python Why are local variable names beginning with an underscore discouraged in Python Programming? they are used to indicate global variables they slow down execution they are used to indicate a private variables of a class they confuse the interpreter they are used to indicate global variables they slow down execution they are used to indicate a private variables of a class they confuse the interpreter ANSWER DOWNLOAD EXAMIANS APP
Python Say s=”hello” what will be the return value of type(s) in Python? String str int bool String str int bool ANSWER DOWNLOAD EXAMIANS APP
Python What does the function re.match do? such a function does not exist none of the mentioned matches a pattern at the start of the string matches a pattern at any position in the string such a function does not exist none of the mentioned matches a pattern at the start of the string matches a pattern at any position in the string ANSWER DOWNLOAD EXAMIANS APP