def ipaddress(not_valid=None):
not_valid_class_A = not_valid or []<EOL>class_a = [r for r in range(<NUM_LIT:1>, <NUM_LIT>) if r not in not_valid_class_A]<EOL>shuffle(class_a)<EOL>first = class_a.pop()<EOL>return "<STR_LIT:.>".join([str(first), str(randrange(<NUM_LIT:1>, <NUM_LIT>)),<EOL>str(randrange(<NUM_LIT:1>, <NUM_LIT>)), str(randrange(<NUM_LIT:1>, <NUM_LIT>))])<EOL>
returns a string representing a random ip address

:param not_valid: if passed must be a list of integers representing valid class A netoworks that must be ignored