Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What is the output of the following?
Home
Python
What is the output of the following?
0
votes
asked
Jun 13, 2019
in
Python
by
Derya
What is the output of the following?
d = {0: 'a', 1: 'b', 2: 'c'}
for x in d.values():
print(d[x])
a. a b c
b. 0 a 1 b 2 c
c. 0 1 2.
d. none of the mentioned
#python
#java
#python-tutorial
#ball-python
Python-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Oct 31, 2019
by
Robin
Answer: a
Explanation: Loops over the values.
Related questions
0
votes
Q: What is the output of the following?
asked
Jun 13, 2019
in
Python
by
Derya
#python
#ball-python
#java
#python-tutorial
Python-questions-answers
0
votes
Q: What is the output when following statement is executed ?
asked
Jun 13, 2019
in
Python
by
Derya
#python
#java
#ball-python
#python-tutorial
Python-questions-answers
0
votes
Q: What is the output of the following code ?
asked
Jun 13, 2019
in
Python
by
Derya
#python
#python-tutorial
#ball-python
#java
Python-questions-answers
0
votes
Q: What is the output of the following?
asked
Jun 13, 2019
in
Python
by
Derya
#python
#ball-python
#java
#python-tutorial
Python-questions-answers
0
votes
Q: What is the output of the following?
asked
Jun 13, 2019
in
Python
by
Derya
#python
#python-tutorial
#ball-python
#java
Python-questions-answers
0
votes
Q: What is the output of the following?
asked
Jun 13, 2019
in
Python
by
Derya
#python-tutorial
#python
#ball-python
#java
Python-questions-answers
0
votes
Q: What is the output of the following code ?
asked
Jun 13, 2019
in
Python
by
Derya
#python
#java
#python-tutorial
#ball-python
Python-questions-answers
0
votes
Q: What is the output of the following?
asked
Jun 13, 2019
in
Python
by
Derya
#python
#python-tutorial
#ball-python
#java
Python-questions-answers
0
votes
Q: What is the output when following code is executed ?
asked
Jun 13, 2019
in
Python
by
Derya
#python
#ball-python
#java
#python-tutorial
Python-questions-answers
0
votes
Q: What is the output of the following?
asked
Jun 13, 2019
in
Python
by
Derya
#python
#java
#python-tutorial
#ball-python
Python-questions-answers
...