# hastables/dictionary # note a comma (,) after each key-value pair # and colon (:) between the Key-value pair instead of 'equals to' (=) used in PowerShell table = {} # empty hashtable table = dict() # alternative way to create empty hastable # hashtable with integer keys table = { 1 : 'one', 2 : 'two', 3 : 'three' } # hashtable is a data stucture that has key-value pair as a element table = { 'firstname' : 'prateek', # in powershell single/double quotes around 'string keys' are optional, but not in python 'lastname' : 'singh' }