Seedha content par jao
๐Ÿค– Python Hindi Bot
Namaste! Main Python Hindi Bot hoon ๐Ÿ
Python ya AI se related kuch bhi type karke pucho, ya neeche se quick sawaal chuno.
WhatsApp

Stay Connected with PythonHindii

Join our WhatsApp Community to get the latest Python tutorials, coding tips, interview questions, project updates, and learning resources directly on your phone.

Join WhatsApp Community
⇧
Python Hindi Logo
Python in Hindi | Programming Education

Python Continue Statement in Hindi | Examples | Python Tutorial | Episode 21



```html

Python Continue Statement เค•्เคฏा เคนै? - Complete Tutorial

Python Continue Statement เคเค• เคฎเคนเคค्เคตเคชूเคฐ्เคฃ control flow statement เคนै เคœिเคธเค•ा เค‰เคชเคฏोเค— loops เคฎें เค•िเคฏा เคœाเคคा เคนै। เคฏเคน statement เคตเคฐ्เคคเคฎाเคจ iteration เค•ो skip เค•เคฐเค•े เค…เค—เคฒे iteration เคชเคฐ เคœाเคคा เคนै। เค†เค‡เค เค‡เคธ tutorial เคฎें Python Continue Statement เค•ो เคตिเคธ्เคคाเคฐ เคธे เคธเคฎเคเคคे เคนैं।

Continue Statement เค•ा เคฎเคคเคฒเคฌ เค•्เคฏा เคนै?

Continue statement เค•ा เค‰เคชเคฏोเค— เคคเคฌ เค•िเคฏा เคœाเคคा เคนै เคœเคฌ เค†เคช เค•िเคธी specific condition เคฎें loop เค•ा เคฎौเคœूเคฆा iteration เค•ो เค›ोเคก़เคจा เคšाเคนเคคे เคนैं เค”เคฐ เค…เค—เคฒे iteration เคชเคฐ เคœाเคจा เคšाเคนเคคे เคนैं। เค‡เคธे เค†เคธाเคจ เคญाเคทा เคฎें เค•เคนें เคคो เคฏเคน statement loop เคฎें "เคฌाเค•ी code เค•ो เค›ोเคก़ เคฆो เค”เคฐ เค…เค—เคฒी เคฌाเคฐ เค•े เคฒिเค เค†เค—े เคฌเคข़ो" เค•เคนเคคा เคนै।

Continue Statement เค•ा Syntax

Continue statement เค•ा syntax เคฌเคนुเคค เคนी เคธเคฐเคฒ เคนै:

continue

เคฏเคน เคเค• single keyword เคนै เคœिเคธे เค•िเคธी เคญी loop (for loop เคฏा while loop) เค•े เค…ंเคฆเคฐ เค‰เคชเคฏोเค— เค•िเคฏा เคœा เคธเค•เคคा เคนै।

Continue Statement เค•े เคธाเคฅ For Loop เค•ा เค‰เคฆाเคนเคฐเคฃ

เค†เค‡เค เคเค• practical example เคฆेเค–เคคे เคนैं เคœเคนां เคนเคฎ continue statement เค•ा เค‰เคชเคฏोเค— เค•เคฐ เคฐเคนे เคนैं:

# Example 1: Simple Continue Statement numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] for num in numbers: if num % 2 == 0: # เค…เค—เคฐ number even เคนै continue # เค‡เคธ iteration เค•ो เค›ोเคก़ เคฆो print(num) # เคธिเคฐ्เคซ odd numbers print เคนोंเค—े

Output:

1 3 5 7 9

เค‡เคธ เค‰เคฆाเคนเคฐเคฃ เคฎें, เคนเคฎเคจे เคธเคญी even numbers เค•ो เค›ोเคก़ เคฆिเคฏा เคนै। เคœเคฌ number divisible by 2 เคนै, เคคो continue statement execute เคนोเคคा เคนै เค”เคฐ เคฌाเค•ी code เค•ो skip เค•เคฐเค•े เค…เค—เคฒे iteration เคชเคฐ เคšเคฒा เคœाเคคा เคนै।

Continue Statement เค•े เคธाเคฅ While Loop เค•ा เค‰เคฆाเคนเคฐเคฃ

Continue statement เค•ो while loop เคฎें เคญी เค‰เคธी เคคเคฐเคน เคธे เค‰เคชเคฏोเค— เค•िเคฏा เคœा เคธเค•เคคा เคนै:

# Example 2: Continue with While Loop i = 0 while i < 10: i += 1 if i == 5: # เค…เค—เคฐ i 5 เค•े เคฌเคฐाเคฌเคฐ เคนै continue # เค‡เคธ iteration เค•ो เค›ोเคก़ เคฆो print(f"Current value: {i}")

Output:

Current value: 1 Current value: 2 Current value: 3 Current value: 4 Current value: 6 Current value: 7 Current value: 8 Current value: 9 Current value: 10

เคœเคฌ i เค•ी value 5 เคนोเคคी เคนै, เคคो continue statement execute เคนोเคคा เคนै เค”เคฐ number 5 print เคจเคนीं เคนोเคคा।

Continue Statement เค•ा Practical เค‰เคฆाเคนเคฐเคฃ

เค†เค‡เค เคเค• เค”เคฐ practical example เคฆेเค–เคคे เคนैं เคœो real-world scenario เค•ो represent เค•เคฐเคคा เคนै:

# Example 3: Skip negative numbers numbers = [10, -5, 20, -3,
๐Ÿง‘‍๐Ÿ’ป Python Coding Lab

Python code likho, run karo aur practice karo — directly browser mein.