• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in Python by
Q:
What is the output of the following?

i = 1
while True:
    if i%3 == 0:
        break
    print(i)
 
    i + = 1

a. error
b. 1 2
c. none of the mentioned
d. 1 2 3.

Related questions

0 votes
asked Jun 13, 2019 in Python by Derya
0 votes
asked Jun 13, 2019 in Python by Derya
...