Python
Which of the following is used to exit a loop in Python?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
break
Answer option 2
exit
Answer option 3
stop
English
What is the output of print(3 != 3)?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
False
Answer option 2
True
Answer option 3
None
Reference Link
English
Which of the following is used to define a block of code in Python?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
Indentation
Answer option 2
Braces
Answer option 3
Parentheses
English
What is the output of print(5 > 3)?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
True
Answer option 2
False
Answer option 3
None
Reference Link
English
Which of the following is used to start a loop in Python?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
for
Answer option 2
loop
Answer option 3
iterate
English
What is the output of print(10 % 3)?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
1
Answer option 2
0
Answer option 3
3
Reference Link
English
Which of the following is used to create a new class in Python?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
class
Answer option 2
Class
Answer option 3
newclass
Reference Link
English
What is the output of print('Hello'.upper())?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
HELLO
Answer option 2
hello
Answer option 3
Hello
Reference Link
English
What is the output of print(3 == 3.0)?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
True
Answer option 2
False
Answer option 3
None
Reference Link
English
What is the output of print('5' * 2)?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
55
Answer option 2
10
Answer option 3
25
Reference Link
English