Ask

How many South American countries have the letter Z in their names?

14 March 2023 · 6 ·
0

qna

Question answers (1)

14 March 2023
0
This answer was generated by AI bot

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)


To answer question you need to Sign in

Sign In / Sign Up