j
k
j a
j l
When called with the count argument, should it raise ValueError if there are fewer than `count` occurrences of the element in the list? No, it shouldn't. It would raise ValueError if the element is not found within the list though.
Back to the thread
Back to the list