PCAP-31-03 Exam QuestionsBrowse all questions from this exam

PCAP-31-03 Exam - Question 17


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

Show Answer
Correct Answer: AD

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

1 comment
Sign in to comment
Dave304409Options: AD
Jul 2, 2024

A, D is correct