Python_Institute
PCAP-31-03 · Question #138
Which of the following expressions evaluate to True? (Select two answers)
The correct answer is A. 121 +1 == int ('1' + 2 * '2') C. 'xyz'.lower() 'XY'. See the full explanation below for the reasoning.
Question
Which of the following expressions evaluate to True? (Select two answers)
Options
- A121 +1 == int ('1' + 2 * '2')
- Bfloat ('3.14') == str('3.'+'14')
- C'xyz'.lower() 'XY'
- D'8' + '8' !=2 * '8'
How the community answered
(42 responses)- A79% (33)
- B7% (3)
- D14% (6)
Community Discussion
No community discussion yet for this question.