Here is a plan for a (relatively) random numeric dictionary I've put together. I'm hoping that people can help me refine the plan so that I can start incremental coding:
#! usr/bin/env python
# creates a random dictionary
from random import randint
# user inputs maximum length of dictionary
# program chooses a random length of max-(randint(1,max-1))
# user inputs maximum lengths of keys and values
# for each dictionary entry:
# program establishes key and value lengths of\
max-randint(1,max-1)
# program generates randint values for key and value\
within length parameters
# program converts value to string if necessary
# program generates a dictionary of given length using\
the given keys and values