Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25%
- Ends In
00:00:00
Coupon code:
SAVE25
X
Welcome to Pass4Success
Login
|
Sign up
-
Free
Preparation Discussions
Mail Us
support@pass4success.com
Location
PL
MENU
Home
Popular vendors
Salesforce
Microsoft
Nutanix
Cisco
Amazon
Google
CompTIA
SAP
VMware
Oracle
Fortinet
PeopleCert
Eccouncil
HP
Palo Alto Networks
Adobe
ISC2
ServiceNow
Dell EMC
CheckPoint
Discount Deals
New
About
Contact
Login
Sign up
Home
Discussions
Python Institute Discussions
Exam PCAP-31-03 Topic 4 Question 63 Discussion
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)
A
sorted ('python'')
B
'python' .sort ( )
C
sort' ('python')
D
'python' ,find (' ')
Show Suggested Answer
Hide Answer
Suggested Answer:
A, D
by
Rhea
at
Apr 27, 2024, 10:02 PM
Limited Time Offer
25%
Off
Get Premium PCAP-31-03 Questions as Interactive Web-Based Practice Test or PDF
Contribute your Thoughts:
Submit
Cancel
Carin
6 months ago
So it's A and D then?
upvoted
0
times
...
Ciara
6 months ago
Correct, 'find' is a valid string method.
upvoted
0
times
...
Nada
6 months ago
Good point. What about 'python'.find(' ')?
upvoted
0
times
...
Tatum
7 months ago
Definitely. B is incorrect because strings in Python don’t have a 'sort' method.
upvoted
0
times
...
Anglea
7 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
...
Log in to Pass4Success
×
Sign in:
Forgot my password
Log in
Report Comment
×
Is the comment made by
USERNAME
spam or abusive?
Commenting
×
In order to participate in the comments you need to be logged-in.
You can
sign-up
or
login
Save
Cancel
az-700
pass4success
az-104
200-301
200-201
cissp
350-401
350-201
350-501
350-601
350-801
350-901
az-720
az-305
pl-300
Carin
6 months agoCiara
6 months agoNada
6 months agoTatum
7 months agoAnglea
7 months agoNada
7 months ago