Question: What is stored in pos when the following code segment executes? values=[J,Q,x,z] pos=values.find(Y) 1 0 4 No value is stored because a runtime exception occurs
What is stored in pos when the following code segment executes? values=["J","Q","x","z"] pos=values.find("Y") 1 0 4 No value is stored because a runtime exception occurs
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
