What is the flow control for “continue” in python?

0 votes

This is a snippet can someone explain me the flow control?

if(statement):

  continue

print(Statement)

Jul 16, 2018 in Python by eatcodesleeprepeat
• 4,750 points
89 views

1 answer to this question.

0 votes

This is the way "continue" statement works!

You can even write few lines of code and see the output. the best to analyze the flow is to write the code and see what happens and when it happens may be you can use lots of print statement for observing that!

Hope it helps.

answered Jul 16, 2018 by Priyaj
• 57,530 points

Related Questions In Python

+1 vote
1 answer

What is the correct order to learn concepts in Python for machine learning?

Machine Learning is a vast domain. It ...READ MORE

answered Jul 25, 2018 in Python by Abhi
• 3,680 points
155 views
0 votes
1 answer

What is the patterns package in python used for?

Pattern is a web mining tool in ...READ MORE

answered Jul 31, 2019 in Python by Mohammad
• 3,230 points
57 views
0 votes
0 answers

What is the syntax for an empty while loop in python?

What kind of ambiguities are expected for ...READ MORE

Aug 5, 2019 in Python by Waseem
• 4,530 points
79 views
0 votes
1 answer

What is the best IDE for python to work in linux?

Pycharm ranks the best python ide to ...READ MORE

answered Aug 19, 2019 in Python by Mohammad
• 3,230 points
59 views
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 1,042 views
0 votes
0 answers
+4 votes
6 answers
+1 vote
1 answer

What is the function for Factorial in Python

Easiest way: math.factorial(x) (available in 2.6 and ...READ MORE

answered Aug 21, 2018 in Python by Priyaj
• 57,530 points

edited Aug 21, 2018 by Omkar 268 views
0 votes
1 answer

What is the Python equivalent for a case/switch statement?

if x == 'a':  # Do the ...READ MORE

answered Jul 26, 2018 in Python by Priyaj
• 57,530 points
215 views