hiexam
python-institute · PCAP-31-03 · Q606 · multiple_response · topic_1

Which of the following expressions evaluate to True? (Choose two.)

Which of the following expressions evaluate to True? (Choose two.)
  • A.'xYz'.lower() > 'XY'
  • B.'8'+'8' ! = 2 * '8'
  • C.float ('3.14') == str('3.' + '14')
  • D.121 + 1 == int('1' + 2 * '2')
Explanation
A, D is correct

Reference: examtopics_top_comment

Practice with progress tracking

Sign in to track wrong answers, get spaced-repetition reminders, and run timed exam mode.