Word Usage – Should It Be ‘A List of Item’ or ‘A List of Items’?

word-choiceword-usage

a list in python looks like

list_of_int = [1, 2, 3]

there are 3 items in this list.

the question is, when there are more than one items in the list, should i say "a list of item" or "a list of items"

Best Answer

You might be confused by the way coders talk about lists in code, which is a little different from the syntax of every day English.

In many coding languages, as in your example, you say 'a list of int', or 'a list of some object'. However, in English you would say

A list of integers

or

A list of objects of type something.