#1
What does the 'print' function do in Python?
#2
Which of the following is NOT a valid variable name in Python?
#3What is the output of the following code snippet?
What is the output of the following code snippet?
x = 10
y = 5
print(x % y)
#4
Which of the following data types is mutable in Python?
#5What is the output of the following code snippet?
What is the output of the following code snippet?
x = [1, 2, 3]
print(x[1:])
#6What will be the output of the following code snippet?
What will be the output of the following code snippet?
print(3 * '7')
#7
Which of the following is used to comment multiple lines in Python?
#8
What does the 'pass' statement do in Python?
#9
What is the purpose of the 'global' keyword in Python?
#10
What does the 'with' statement do in Python?
#11
What is the purpose of 'try' and 'except' in Python?
#12What is the output of the following code snippet?
What is the output of the following code snippet?
x = [1, 2, 3]
print(x.pop())
#13What is the output of the following code snippet?
What is the output of the following code snippet?
print(len('Hello'))
#14What is the output of the following code snippet?
What is the output of the following code snippet?
print(10 * 3 + 5 == 35)
#15What is the output of the following code snippet?