python pass statement

Pass Statement in python in Hindi | Python pass Statement in Hindi

Python

pass Statement in python in Hindi :pass statement ko python me istemal tab kiya jata hai jaha pr hame keval kuch na likh kr keval program excute krna ho to tab pass statement istemal hota hai

Isse Or Accha Samanjh ne ke liye iske kuch example dekhte.

Pass Statement in python

Syntax :

pass expression :

Aap upper diye gye syntax ko dekh sakte hai.

python pass statement
pass statement in hindi

Python pass statement with examples in Hindi

Example :-

a = 10
b = 10
if (a==b):
   pass:
else:
   print('Not Equal')

Aap dekh sakte hai hamne 2 variables banaye hai or us variables 10 , 10 Value di hai . or fir if statement condition lagaya hai.or phir hamne pass statement pass kiya

Output :-

#blank output

aap upper dekh sakte hai output me kuch bhi print nhi hua hai. kyoki if condition true thi or uske under pass statement istemal kiya.

Example 2 :-

a = 10
b = 20
if (a==b):
   pass:
else:
   print('Not Equal')

Aap dekh sakte hai hamne 2 variables banaye hai or us variables a=10 ,b= 20 Value di hai . or fir if statement condition lagaya hai.

Output :-

Not Equal

Aap Upper Diye gye output ko dekh kar program ko samanjh sakte hai.

in keyword

Python Pass Statement in Hindi

Also Read This Post :

Dosto mujhe ummed hai ki aap pass Statement with examples in Hindi ko acchi tarah se samanj gye honge agar aap ko ye post acchi lage to mere is website ko jarur follow kre or ha agar aap video bhi dekhna chahte hai to aap mere channel ko bhi subscribe kar sakte hai. channel ka link aapko home page par mil jayega |

Leave a Reply

Your email address will not be published. Required fields are marked *