PCAP Exam QuestionsBrowse all questions from this exam

PCAP Exam - Question 136


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

Show Answer
Correct Answer: BD

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

2 comments
Sign in to comment
macxszOptions: BD
May 4, 2022

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

BonesawOptions: BD
Jan 9, 2024

I'm with the other person, BD