Join Now
Home Aptitude Reasoning DI VA GK CA CA Hindi Quiz Placements
list1.add(list2)
list1.append(list2)
list1 + list2
list1.extend(list2)
function my_function():
def my_function():
define my_function():
func my_function():
while i in range(10):
while (i < 10)
while (i != 10)
while i = 10
list.sort(reverse=True)
list.sort(reverse=False)
list.reverse()
None of the above
// This is a comment
/* This is a comment */
# This is a comment
// This is a comment //
open_file("example.txt")
open("example.txt")
file.open("example.txt")
with open("example.txt") as file:
function_name(arguments):
def function_name(arguments):
function_name(arguments)
x = 1
y = "Hello"
z = 3.14
2 = a
==
>
<
+
What is the output of the following code?
print(7 % 3)
2
3
1
7