Python Institute Certified Associate in Python Programming PCAP-31-03 Question # 18 Topic 2 Discussion

Python Institute Certified Associate in Python Programming PCAP-31-03 Question # 18 Topic 2 Discussion

PCAP-31-03 Exam Topic 2 Question 18 Discussion:
Question #: 18
Topic #: 2

Assuming that the snippet below has been executed successfully, which of the following expressions will evaluate to True? (Select two answers)

string = 'python' [::2]

string = string[-1] + string[-2]


A.

string[0] == string[-1]


B.

string is None


C.

len (string] == 3


D.

string[0] == 'o'


Get Premium PCAP-31-03 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.