.module
.py
both a & b
All of the above
re.create(str)
re.regex(str)
re.compile(str)
re.assemble(str)
re
regex
pyregex
none of the mentioned
_
&
%
None of the above
Denoted by triple quotes for providing the specification of certain program elements
Design and implementation of specific functionality to be incorporated into a program
Defines the specification of how it is to be used
Any program that reuses code
Low, Enclosing, Global and Built-in
Local, Enclosing, Global and Built-in
Local, Ending, Global and Built-in
Light, Emitting, Global and Built-in
What will be the output of the following Code ?
x=10, y=3 print(divmod(x,y))
(3,1)
(4,2)
(5,7)
(1,3)
Return the name of the user logged in to the terminal
Return the email of the user logged in to the terminal
Return the login time when user logged in to the terminal
take a sequence, like a list, and arrange the items in ascending order
take a sequence, like a list, and reorganize the order of the items.
take a sequence, like a list, and arrange the items in descending
take a sequence, like a list, and return the same copy of sequence
HTTP
urllib
socket
header
.mod
.python
try
except
finally
Local, Enclosing, Graphical, Built-in
Local, External, Global, Binary
List, Entry, Global, Block
Local, Enclosing, Global, Built-in
static
global
public
extern
A package manager
A loop structure
A file containing Python code
A variable type
Local variable gets priority
Global variable gets priority
Error occurs
Both are merged