Exam PCAP-31-03 All QuestionsBrowse all questions from this exam
Question 17

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

    Correct Answer: A, D

    The expression 'in' in 'in' evaluates to True because the substring 'in' is found within the string 'in'. The expression 't'.upper() in 'Thames' evaluates to True because 't'.upper() transforms 't' to 'T', which is indeed part of the string 'Thames'.

Discussion
Dave304409Options: AD

A, D is correct