Computer Science, asked by Shishank678, 5 months ago

? Why is the following code raising an exception value error? Correct the code so that it does not
raise an exception.
4
>>>"When Ever.index("What")
Traceback (most recent call list):
file"<pyshell#25>", line 1, in <module>
"When Ever".index("What")
Value Error i substring not found​

Answers

Answered by tlwspushkar612
1

Answer:

>>>"When Ever.index("What")

Traceback (most recent call list):

file"<pyshell#25>", line 1, in <module>

"When Ever".index("What")<<<

Similar questions