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

Which of the following invocations are valid? (Select two answers)
A . rfind("python","r")
B . sorted("python")
C . "python".sort ()
D . "python".index("th")

Answer: B,D

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments