Tell me whether these are countries or cities: Sweden, Bangalore, Panama, Pakistan, Lebanon, Los Angeles
The following are countries:
Sweden is a country in Europe, 
Pakistan is a country in South Asia and 
Panama is a country in Central America.

The following are cities:
Bangalore is a city in the southern region of India
Los Angeles is a city in the south wested part of the United States of America.

Lebanon can refer to both a country and a city. 
The country of Lebanon is situated in the Middle East, while the city of Lebanon is located in the state of New Hampshire in the United States of America.