New york address generator

Here is a New York address generator that can help you generate a random address in New York:

Format: [Street Name] [Street Number], [City], [State], [Zip Code]

Example: 123 Main St, New York, NY 10001

Generate a new address:

Here's the code to generate a new address:

import random

street_names = ["Main", "Broadway", "5th Avenue", "Park Avenue", "Lexington Avenue", "Madison Avenue", "5th Street", "6th Street", "7th Street", "8th Street"]
cities = ["New York", "Brooklyn", "Queens", "Manhattan", "The Bronx", "Staten Island", "Albany", "Buffalo", "Rochester", "Syracuse"]
zip_codes = [str(random.randint(10000, 99999)) for _ in range(1000)]

def generate_address():
    street_name = random.choice(street_names)
    street_number = random.randint(1, 999)
    city = random.choice(cities)
    zip_code = random.choice(zip_codes)
    return f"{street_number} {street_name} St, {city}, NY {zip_code}"

print(generate_address())

Note: This is a simple script and the generated addresses may not be real or valid. You should not use these addresses for any official or legal purposes.