Using Continue Statement:
The continue statement brings back program control to their start of the loop.You can use it for both ‘for’ and ‘while’ loops.
Example for Continue Statement: pizza=["New York Style Pizza","Pan Pizza","Thin n Crispy Pizza","Stuffed Crust Pizza""] if choice=="Pan Pizza": print("Please pay $16.Thank you!") continue print("Delicious,cheesy"+choice) else: print("Cheesy pan pizza is my all-time favorite!") print("Finally,I'm full!") OUTPUT: Delicious,cheesy New York Style Pizza Please pay $16.Thank you! Delicious,cheesy Thin n Crispy Pizza Delicious,cheesy Stuffed Crust Pizza Cheesy pan pizza is my all-time favorite! Finally,I'm full!