O GoConqr está de visual novo! Conte para nós o que você achou.

Notas

The Four Basic Data Structures - created from Mind Map

Braden Willsey Computer Science Inglês 1 página

Conteúdo das notas (1)

Página 1

Lists

Tuples

Sets

Dictionary

So what is the difference?

Used to store multiple items in a single variable. List items are ordered, changeable, and can have duplicate values. List items are indexed. Written with normal brackets

Used to store multiple items in a single variable. A tuple is a collection which is ordered and unchangeable. Tuples are written round brackets In order to determine how many tuples there are, use the len() function.

Used to store multiple items in a single variable. Sets are unordered, unchangeable, unindexed, and do not allow duplicates. Written with squiggly brackets.

Used to store data values in key:value pairs. A dictionary is a collection which is unordered, changeable and does not allow duplicates. Dictionaries are written with curly brackets, and have keys and values:

List is a collection which is ordered and changeable. Allows duplicate members. Tuple is a collection which is ordered and unchangeable. Allows duplicate members. Set is a collection which is unordered and unindexed. No duplicate members. Dictionary is a collection which is unordered and changeable. No duplicate members.

Informações

Descrição
Computer Science Notas sobre The Four Basic Data Structures - created from Mind Map, criado por Braden Willsey em 04-02-2021.
Criado por
Braden Willsey
Visualizações
0
Histórico
  • Criado por Braden Willsey · 4 fev 2021
  • Copiado para Nota por Braden Willsey · 4 fev 2021
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?