✏️ Explanatory Question

Logical operators কী? উদাহরণসহ ব্যাখ্যা করো।

👁 0 Views
📘 Detailed Answer
🟢 Easy
💡

Answer with Explanation

Logical operators multiple condition combine করতে ব্যবহৃত হয়।

Operator Meaning
and Both conditions true
or At least one true
not Reverse condition

Example:

x = 10

print(x > 5 and x < 20)
print(not(x > 5))