MCQOPTIONS
Saved Bookmarks
| 1. |
How does the identity operator === compare two values? |
| A. | It converts both to a common compatible data type and then compares the values |
| B. | It returns True only if they are both of the same type and value |
| C. | It converts both values to strings and compares them |
| D. | If the two values are strings, it performs a syntax comparison |
| Answer» C. It converts both values to strings and compares them | |