w=[13,18,11,16,13,18,13],print(w,index(18)),print(w,count(18))
Answers
Answered by
0
Answer:
Explanation:
Q. Predict the output:
List1 = [ 13, 18, 11, 16, 13, 18, 13]
print (List1.index(18))
print(List1.count(18))
List1.append(List1.count(13))
print(List1)
Answer =
Output:-
1
2
[13, 18, 11, 16, 13, 18, 13, 3]
>>>
Similar questions