English

Which of the following operators will return either True or False? - Computer Science (Python)

Advertisements
Advertisements

Question

Which of the following operators will return either True or False?

Options

  • +=
  • !=
  • =
  • *=
MCQ

Solution

!=

Explanation:

When two values are compared, the Not equal to function returns a Boolean result indicating whether the two values are equal or not.

shaalaa.com
Introduction of Exception Handling in Python
  Is there an error in this question or solution?
2022-2023 (March) Set 4
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×