Combinde two lists of strings without getting tuples

  join, list, merge, python, zip

I have two lists:

country_name = ['South Africa', 'India', 'United States']
country_code = ['ZA', 'IN', 'US']

My goal is to zip and join them, so that I get the following list:

countries = ['South Africa ZA', 'India IN', 'United States US']

Source: Python Questions

LEAVE A COMMENT