#NEWLINE# def setup_dict( m ) : #NEWLINE# #INDENT# ' does insertion order matter?' #NEWLINE# import random #NEWLINE# a = range ( m ) #NEWLINE# d = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for i in range ( m ) : #NEWLINE# #INDENT# key = random . choice ( a ) #NEWLINE# a . remove ( key ) #NEWLINE# d [ a ] = key #NEWLINE# #UNINDENT# return d