Deal of The Day! 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 6 Question 84 Discussion

Actual exam question for Python Institute's PCAP-31-03 exam
Question #: 84
Topic #: 6
[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:

Mira
1 days ago
I'm not sure about B) 'python'.sort(). I think it's not a valid invocation.
upvoted 0 times
...
Corrinne
5 days ago
A and B are valid, the rest are syntax errors. I mean, who would even try to sort a string like that? It's like trying to herd cats with a rubber chicken.
upvoted 0 times
...
Selma
10 days ago
I agree with you, Merissa. A) sorted('python') and C) sort('python') are both valid invocations.
upvoted 0 times
...
Merissa
22 days ago
I think A) sorted('python') is valid.
upvoted 0 times
...

Save Cancel