Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
Recent questions tagged Python-questions-answers
0
votes
Q: Which one of the following is not a keyword in Python language?
Which one of the following is not a keyword in Python language? a) pass b) eval c) assert d) nonlocal...
asked
Jan 2, 2023
in
Technology
by
JackTerrance
python-questions-answers
0
votes
Q: Which function is called when the following Python program is executed? f = foo() format(f)
Which function is called when the following Python program is executed? f = foo() format(f) a) str() b) format() c) __str__() d) __format__()...
asked
Jan 2, 2023
in
Technology
by
JackTerrance
python-questions-answers
0
votes
Q: Which of the following statements is used to create an empty set in Python?
Which of the following statements is used to create an empty set in Python? a) ( ) b) [ ] c) { } d) set()...
asked
Jan 2, 2023
in
Technology
by
JackTerrance
python-questions-answers
0
votes
Q: What will be the output of the following Python code? print("abc. DEF".capitalize())
What will be the output of the following Python code? print("abc. DEF".capitalize()) a) Abc. def b) abc. def c) Abc. Def d) ABC. DEF...
asked
Jan 2, 2023
in
Technology
by
JackTerrance
python-questions-answers
0
votes
Q: What arithmetic operators cannot be used with strings in Python?
What arithmetic operators cannot be used with strings in Python? a) * b) – c) + d) All of the mentioned...
asked
Jan 2, 2023
in
Technology
by
JackTerrance
python-questions-answers
0
votes
Q: What will be the output of the following Python program? z=set('abc') z.add('san') z.update(set(['p', 'q'])) z
What will be the output of the following Python program? z=set('abc') z.add('san') z.update(set(['p', 'q'] ... ;, ‘c’, [‘p’, ‘q’], ‘san}...
asked
Jan 2, 2023
in
Technology
by
JackTerrance
python-questions-answers
0
votes
Q: Which module in the python standard library parses options received from the command line?
Which module in the python standard library parses options received from the command line? a) getarg b) getopt c) main d) os...
asked
Jan 2, 2023
in
Technology
by
JackTerrance
python-questions-answers
0
votes
Q: Which one of the following is not a keyword in Python language?
Which one of the following is not a keyword in Python language? a) pass b) eval c) assert d) nonlocal...
asked
Jan 2, 2023
in
Technology
by
JackTerrance
python-questions-answers
0
votes
Q: Which function is called when the following Python program is executed? f = foo() format(f)
Which function is called when the following Python program is executed? f = foo() format(f) a) str() b) format() c) __str__() d) __format__()...
asked
Jan 2, 2023
in
Technology
by
JackTerrance
python-questions-answers
0
votes
Q: What will be the output of the following Python statement? >>>"a"+"bc"
What will be the output of the following Python statement? >>>"a"+"bc" a) bc b) abc c) a d) bca...
asked
Jan 2, 2023
in
Technology
by
JackTerrance
python-questions-answers
Page:
« prev
1
2
...