BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Python Institute Exam PCAP-31-03 Topic 4 Question 63 Discussion

Actual exam question for Python Institute's PCAP-31-03 exam
Question #: 63
Topic #: 4
[All PCAP-31-03 Questions]

Which of the following invocations are valid? (Select two answers)

Show Suggested Answer Hide Answer
Suggested Answer: A, D

Contribute your Thoughts:

Carin
5 months ago
So it's A and D then?
upvoted 0 times
...
Ciara
5 months ago
Correct, 'find' is a valid string method.
upvoted 0 times
...
Nada
5 months ago
Good point. What about 'python'.find(' ')?
upvoted 0 times
...
Tatum
6 months ago
Definitely. B is incorrect because strings in Python don’t have a 'sort' method.
upvoted 0 times
...
Anglea
6 months ago
Yeah, sorted('python') is valid. It should return a sorted list.
upvoted 0 times
...
Nada
7 months ago
This question seems tricky. Do we need to look at syntax errors?
upvoted 0 times
...

Save Cancel