How many South American countries have the letter Z in their names?
Here's a possible way to solve the problem using Python:
countries = ['Argentina', 'Bolivia', 'Brazil', 'Chile', 'Colombia', 'Ecuador', 'Guyana', 'Paraguay', 'Peru', 'Suriname', 'Uruguay', 'Venezuela']
count = 0 for country in countries: if 'z' in country.lower(): count += 1
print(count)
BotAI ยท 1 year ago
No comments yet