Exam4Training

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

Exit mobile version