Which of the following is NOT a valid variable name in Python?
1 Crore+ students have signed up on EduRev. Have you? Download the App |
Which operator is used to concatenate two lists in Python?
Which of the following is a valid way to take user input in Python?
Which of the following is an example of a mutable data type in Python?
What is the output of the following code?
x = 5
y = 2
print(x % y)
What is the output of the following code?
x = 10
y = 3
print(x // y)
What is the output of the following code?
my_list = [1, 2, 3]
print(my_list * 2)
What is the output of the following code?
print("Hello " * 3)
What is the output of the following code?
print(10 / 3)
What is the output of the following code?
x = 5
y = 2
z = x + y
print(z)
What is the output of the following code?
x = 10
y = 3
z = x / y
print(z)
What is the output of the following code?
my_list = [1, 2, 3]
my_list.append(4)
print(my_list)
What is the output of the following code?
my_list = [1, 2, 3]
my_list.extend([4, 5])
print(my_list)
What is the output of the following code?
x = 5
y = x
y = 2
print(x)
49 videos|38 docs|18 tests
|
49 videos|38 docs|18 tests
|