Certified Associate in Python Programming (PCAP-31-03) — Question 66

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

Answer options

Correct answer: C, D

Explanation

The correct answers are C and D because 'not' is indeed not present in 'in', making C True, and 't'.upper() results in 'T', which is found in 'Thames', making D True. Options A and B evaluate to False; A is incorrectly structured, and B evaluates to True since 'a' is not in 'abc'.