McqMate
| Q. |
What happens when ‘1’ == 1 is executed? |
| A. | we get a true |
| B. | we get a false |
| C. | an typeerror occurs |
| D. | a valueerror occurs |
| Answer» B. we get a false | |
| Explanation: it simply evaluates to false and does not raise any exception. | |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet