<s> import re <EOL> import random <EOL> from faker import data <EOL> rand = lambda x : random . choice ( x . split ( ) ) <EOL> numerify = lambda x : "<STR_LIT>" . join ( [ re . sub ( r"<STR_LIT:#>" , str ( random . randint ( <NUM_LIT:0> , <NUM_LIT:9> ) ) , i ) for i in x ] ) <EOL> letterify = lambda x : "<STR_LIT>" . join ( [ re . sub ( r"<STR_LIT>" , random . choice ( [ chr ( i ) for i in range ( ord ( '<STR_LIT:A>' ) , ord ( '<STR_LIT>' ) + <NUM_LIT:1> ) ] ) , y ) for y in x ] ) <EOL> bothify = lambda x : letterify ( numerify ( x ) ) <EOL> def domain ( ) : <EOL> return rand ( data . FREE_EMAIL ) <EOL> def secondary_address ( ) : <EOL> return numerify ( random . choice ( [ "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" ] ) ) <EOL> def uk_postcode ( ) : <EOL> return bothify ( random . choice ( [ "<STR_LIT>" , "<STR_LIT>" ] ) ) </s>
