iban_countries()¶
- Faker.iban_countries()
Return the sorted list of countries supported for IBAN generation.
- Returns:
list[dict] – Each item has
"country_code"and"country_name", sorted alphabetically by country name.
Example:
for c in faker.iban_countries(): print(c["country_code"], c["country_name"])