Hi, i have a question.
Below is my code.
from mimesis import Generic
from mimesis.locales import Locale
from mimesis.providers.finance import Finance
generic = Generic(locale=Locale.EN)
country = generic.address.default_country()
city = generic.address.city()
state = generic.address.state()
zip_code = generic.address.zip_code()
I can generate default country for the chosen locale but the zip code doesnt make sense with state or matching city. Its more random in that country.
Is there any way how we can generate zip code which is in that state/city and that makes sense ?
Hi, i have a question.
Below is my code.
I can generate default country for the chosen locale but the zip code doesnt make sense with state or matching city. Its more random in that country.
Is there any way how we can generate zip code which is in that state/city and that makes sense ?