abc=2,00,000
a,b,c=200,300,400
a_b_c= 2,00,000
abc=200 300 400
re.create(str)
re.regex(str)
re.compile(str)
re.assemble(str)
re
regex
pyregex
none of the mentioned
_
&
%
None of the above
f = open('data.txt'); f.read()
f = open('data.txt','r'); f.read(n)
myfile = open('data.txt'); f.readline()
f= open('data.txt'); f.readlines()
5.5
3.5
1
r
w
+
b
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
Interface
Modularity
Client
Docstring
Entry Controlled Loop
Exit Controlled Loop
Both of the above
built-in functions
user-defined functions
py function
In Python, a tuple can contain only integers as its elements.
In Python, a tuple can contain only strings as its elements.
In Python, a tuple can contain both integers and strings as its elements.
In Python, a tuple can contain either string or integer but not both at a time.
Yes
No
if / else not used in python
None of the above.
; (semicolon)
,(Comma)
: (colan)
None of these
continue
check
range
break
for
while
Both A and B
True
False
Infinite
NULL
f = open("data.txt", "a")
f = Open("data.txt", "ab")
f= new("data.txt", "a")
open("data.txt", "a")
Infinite Loop
conditional loop
unlimited loop
range(0,3,1)
range(1,4,1)
range(1,3)
range(1,3,0)