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,670 points
43 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
• 56,160 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 ANMOL
• 3,620 points
49 views
0 votes
0 answers

What is the patterns package in python used for?

Can we print a half pyramid pattern ...READ MORE

Jun 25 in Python by Waseem
• 3,320 points
14 views
+2 votes
3 answers

what is the practical use of polymorphism in Python?

Polymorphism is the ability to present the ...READ MORE

answered Mar 31, 2018 in Python by anto.trigg4
• 3,420 points
1,143 views
0 votes
1 answer

What is the use of raw_input function in Python?

raw_input fuction is no longer available in ...READ MORE

answered May 2, 2018 in Python by aayushi
• 750 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 in Python by Neha
• 330 points

edited Jul 8 by Kalgi 121 views
+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
• 56,160 points

edited Aug 21, 2018 by Omkar 94 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
• 56,160 points
68 views