Python
What is the output of print('Python'.title())?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
Python
Answer option 2
PYTHON
Answer option 3
python
Reference Link
English
Which of the following is used to convert a string to an integer in Python?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
int()
Answer option 2
str()
Answer option 3
float()
Reference Link
English
What is the output of print('Python'.capitalize())?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
Python
Answer option 2
PYTHON
Answer option 3
python
English
Which of the following is used to get the length of a list in Python?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
len()
Answer option 2
size()
Answer option 3
length()
Reference Link
English
Which of the following is used to delete an item from a list in Python?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
del
Answer option 2
remove
Answer option 3
delete
English
Which of the following is used to create a new object in Python?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
new
Answer option 2
create
Answer option 3
object
Reference Link
English
What is the output of print(5 <= 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 check if a key exists in a dictionary?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
in
Answer option 2
exists
Answer option 3
has
English
Which of the following is used to continue to the next iteration of a loop in Python?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
continue
Answer option 2
next
Answer option 3
skip
English
What is the output of print(10 >= 10)?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
True
Answer option 2
False
Answer option 3
None
Reference Link
English