• 🌙 Community Spirit

    Ramadan Mubarak! To honor this month, Crax has paused NSFW categories. Wishing you peace and growth!

Random country address generator (1 Viewer)

Currently reading:
 Random country address generator (1 Viewer)

Recently searched:

yohilax951

Member
LV
1
Joined
Dec 20, 2023
Threads
62
Likes
32
Awards
5
Credits
3,814©
Cash
0$
import random
import string

def generate_fake_address():
countries = ["Neverland", "Wakanda", "Atlantis", "Eldorado"]
states = ["Dreamland", "Fantasia", "Narnia", "Wonderland"]

country = random.choice(countries)
state = random.choice(states)
zip_code = ''.join(random.choices(string.digits, k=5))
address = f"{random.randint(1, 100)} {random.choice(string.ascii_letters)} Street"

return f"Address: {address}\nState: {state}\nCountry: {country}\nZip Code: {zip_code}"

# Example usage
fake_address = generate_fake_address()
print(fake_address)
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Tips
Recently searched:

Similar threads

Users who are viewing this thread

Top Bottom