@pwm @kirby @sysrq Flake 8 has the most autism sorted out and teaches you how to create acceptable Python code. I got to the point where I can pick which rule to ignore and still have some readable code.
def get_place(): towns = ["a"] # There would be normally a bunch of goofy town names. I have replaced them with a single entry, 'a', states = [ "AK", "AL", "AR", "AS", "AZ", "CA", "CO", "CT", "DC", "DE", "FL", "GA", "GU", "HI", "IA", "ID", "IL", "IN", "KS", "KY", "LA", "MA", "MD", "ME","MI", "MN", "MO", "MS", "MT", "NC", "ND", "NE", "NH", "NJ", "NM", "NV", "NY", "OH", "OK", "OR", "PA", "PR", "RI", "SC", "SD", "TN", "TX", "UT", "VA", "VI", "VT", "WA", "WI", "WV", "WY", ] return f'{towns[randint(0, len(towns) - 1)]} {states[randint(0, len(states) - 1)]}'