112k views
1 vote
Which of the following statements is false? Choose all that apply.

An element refers to actual data within the list while an index refers to a memory location.

An index of a list can only be integers

An element of a list can be accessed using an index

An index refers to actual data within the list while an element refers to a memory location.

1 Answer

0 votes

Answer:

The option that is false is:

An index refers to actual data within the list while an element refers to a memory location.

Step-by-step explanation:

An index refers to actual data within the list while an element refers to a memory location.

The correct statement is that an element refers to actual data within the list while an index refers to a memory location.

Therefore, the options that are true are:

  • An element refers to actual data within the list while an index refers to a memory location.
  • An index of a list can only be integers.
  • An element of a list can be accessed using an index.
User JLuis Estrada
by
7.8k points