[Solved] In python what does having = [] mean


Assign empty list to variable actualScoresTable.

Th type of actualScoresTable is list

try folowing:

>>> actualScoresTable = []
>>> print actualScoresTable
[]
>>> type(actualScoresTable)
<type 'list'>
>>> 

We can define list type variable in following way also:

>>> a = list()
>>> print a
[]
>>> type(a)
<type 'list'>
>>> 

solved In python what does having = [] mean