Respuesta :

fichoh

Answer:

Kindly check explanation

Explanation:

List is a built in data type used in programming languages, it consists of data enclosed in square brackets []. A llust has different functionality most of which makes development and maintenance of programs easier. Some of the core usefulness of a list include its ability to incorporate different types of data such as strings, int, floats and so on in just a single list. Lists also be created in a list (called list of lists). Deletion of list elements, searching through elements in a list, replacement of values in the list and appending new data values to an already existing list. Lists also provides an easy way to loop through elements embedded in them and list operations can be carried out simultaneously.

Lists are simply data types that can hold multiple values of different data types using one variable.

Usefulness

  • As its definition implies, it is used to hold different values.

Take, for instance:

num1 = 5

num2 = 10

The above statements can be combined into a list as follows:

num[] = [5,10]

  • The data types of the values in the list may not be the same.

The following is another correct definition of a list

person_details = ["Kaitlyntoohey",29,45.6]

The above list contains a string, an integer and a float datatype.

  • Lastly, a list can also contain a list.

Read more about lists at:

https://brainly.com/question/14284563