If you prefer both parts of code to work on exactly the same list, then you can use nations as an alias for countries. A handy approach to do This may be to utilize the as search phrase for building the alias through an implicit assignment, by way of example, https://marioqvxyz.blogdeazar.com/26886202/the-smart-trick-of-albany-that-nobody-is-discussing