Last modified: March 05, 2020

How to make an array in python

syntax

1
2
#syntax
array = {'key':'value'}

example

1
2
#example
array = {'name':'mark'}

multi array

1
2
#example
array = {'name':'mark', 'name':'carl', 'name':'andrea'}