Difference between pass and continue in python?



Difference between pass and continue in python?..

Answer / Jitendra Prasad

The `pass` statement in Python does nothing but indicates that the code is intentionally empty. The `continue` statement is used to skip the current iteration of a loop and proceed with the next iteration.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

How do you protect python source code?

1 Answers  


How will you remove the last object from a list?

1 Answers  


How much bytes do integer and decimal data types hold in python?

1 Answers  


How to generate all permutations of a list in python?

1 Answers  


What is a python egg?

1 Answers  


What's the worst programming language?

1 Answers  


Give the output of this example: a[3] if a=[1,4,6,7,9,66,4,94].

1 Answers  


What is a python module?

1 Answers  


Explain what is the common way for the flask script to work?

1 Answers  


What is multithreading? Give an example?

1 Answers  


What python frameworks do you know?

1 Answers  


Is there any way to kill a thread in python?

1 Answers  


Categories