You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ?
The text was updated successfully, but these errors were encountered:
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 ?
The text was updated successfully, but these errors were encountered: