Write the output of the given python code :
# ! ‘user/bin’pvthon
aList1 = [123, ‘xvz’, zara’, abc’];
print “Index for xyz : ” aList. index) ‘xyz’);
print “Index for zara :”, aList. index(‘zara’);
Answers
Answered by
0
Answer:
fjdgnnvvnjhvcnffvngdxvnjjyf-v
Answered by
2
! ‘user/bin’pvthon
aList1 = [123, ‘xvz’, zara’, abc’];
print “Index for xyz : ” aList. index) ‘xyz’);
print “Index for zara :”, aList. index(‘zara’);
Answer:
This will produce the following result:
Index for xyz : 1 Index for xxx :
Similar questions