🚀 Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

Python में == ऑपरेटर का उपयोग किसलिए होता है?

What is the purpose of == operator in Python?

A
Assignment के लिए
B
Comparison (बराबरी जांचने) के लिए
C
Addition के लिए
D
Multiplication के लिए
Explanation

Python में == operator का उपयोग दो values की बराबरी जांचने (equality check) के लिए किया जाता है।

In Python, the == operator is used to compare two values and check if they are equal.


🔹 उदाहरण / Example:

 
a = 5
b = 5
 
print(a == b) # Output: True
 
x = "hello"
y = "world"
 
print(x == y) # Output: False

Correct Answer: B) Comparison (बराबरी जांचने) के लिए

Latest Updates