Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam PCAP All Questions

View all questions & answers for the PCAP exam

Exam PCAP topic 1 question 138 discussion

Actual exam question from Python Institute's PCAP
Question #: 138
Topic #: 1
[All PCAP Questions]

Which of the following invocations are valid? (Choose two.)

  • A. sort(ג€pythonג€)
  • B. ג€pythonג€.find(ג€ג€)
  • C. ג€pythonג€.rindex(ג€thג€)
  • D. 'python'.sorted()
Show Suggested Answer Hide Answer
Suggested Answer: BC 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
andr3
1 year, 8 months ago
can admin edit the Q with correct signs ? A. sort(ג€pythonג€) B. ג€pythonג€.find(ג€ג€) C. ג€pythonג€.rindex(ג€thג€) D. 'python'.sorted()
upvoted 1 times
...
macxsz
2 years, 6 months ago
Selected Answer: BC
The only correct statements: B. "python".find("") C. "python".rindex("th")
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...