Exam PCAP All QuestionsBrowse all questions from this exam
Question 136

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

    Correct Answer: B, D

    The expression 'in' in 'in' evaluates to True because the substring 'in' is indeed found within the string 'in'. The expression 't'.upper() in 'Thames' also evaluates to True because upper() converts 't' to 'T', and 'T' is present in the string 'Thames'.

Discussion
macxszOptions: BD

B. 'in' in 'in' D. 't'.upper() in 'Thames'

BonesawOptions: BD

I'm with the other person, BD