Join Now
Home Aptitude Reasoning DI VA GK CA CA Hindi Quiz Placements
// This is a comment
/* This is a comment */
# This is a comment
// This is a comment //
list.sort(reverse=True)
list.sort(reverse=False)
list.reverse()
None of the above
1_name
my_variable
$test
class
x = 1
y = "Hello"
z = 3.14
2 = a
file.readline()
file.read(line)
read(file, line)
file.read()
What is the output of the following code?
print(7 % 3)
2
3
1
7
dict.contains(key)
dict.has_key(key)
key in dict
dict.get(key)
This is a multi-line string
'''This is a multi-line string'''
"This is a multi-line string"
All of the above
int(string)
str(int)
string.int()
list1.add(list2)
list1.append(list2)
list1 + list2
list1.extend(list2)