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?
i = 1
while False:
if i%2 == 0:
break
print(i)
i += 2
a. 1
b. none of the mentioned
c. 1 2 3 4 …
d. 1 3 5 7 …
#python
#ball-python
#java
#python-tutorial
Python-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Oct 31, 2019
by
Robin
Answer is D
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
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
#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 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
...