Our Office
Ernakulam, Kottayam
Email Us
linusfacts@gmail.com
Call Us
+91 9544409513
What does the not operator do in Python? If you want the condition to be true when at least one of the tested conditions is true, which logical operator should you use?

QUESTIONS

What does the not operator do in Python?

Right Answer:

The not operator negates the result of the condition it precedes. If the condition is True, not makes it False, and if it’s False, not makes it True.

If you want the condition to be true when at least one of the tested conditions is true, which logical operator should you use?

Right Answer:

You should use the or operator. It returns True if at least one of the conditions being tested is true.

Get In Touch

Kochi, Pala,Ernakulam

+91 9544409513

linuslearning.in@gmail.com

Our Courses
Newsletter

Those people who develop the ability to continuously acquire new and better forms of knowledge that they can apply to their work and to their lives will be the movers and shakers in our society for the indefinite future