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
None of these
range(0,3,1)
range(1,4,1)
range(1,3)
range(1,3,0)
Variable names in Python cannot start with number. However, it can contain number in any other position of variable name.
Variable names can start with an underscore.
Data type of variable names should not be declared.
None of the above.
a=b=c=1
a,b,c=1
a, b, c = 1, "python", 1.5
None of the above
32
33
31
30
asc()
ord()
asci()
ascii()
String
List
Tuple
Dictionary
in
is
assert
All
indexing
Replication
concatenation
None of the Above
Concatenation
Membership
Slicing
All of the above
slicer
None of these-
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
f.seek(-10, 0)
f.seek(10,0)
f.seek(-10, 1)
none of the mentioned.
end
beginning
anywhere in between the file
islower()
isupper()
Islower()
None
str1[ : : -1 ]
str1[ : : 1 ]
str1[ : -1 : -1 ]
switch
foreach
Nested Loop