• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

how many times the "while" loop got executed?

a = 0 while(a<10): if (a == 1): continue if (a == 5): break a = a+1 print(a)

while
24th Jun 2019, 9:34 AM
sky
1 Answer

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Issue with Sololearn Module Quiz Despite Correct Answers
2 Votes
I need help to solve this
0 Votes
Project
0 Votes
Engineer Cloud
0 Votes
How to add comment in python?
0 Votes
Lua?
1 Votes
How do we code calculator
1 Votes
Hey what the research process order for them that I am telling you please order them and tell me answer
0 Votes
Ayuda para insertar la imagen de portada y las melodĂ­as a mi ĂĄlbum alguien sabe cĂłmo
0 Votes