aleksandertomaz 16 Nov 2023 in Public 15 texas = {city[:-3].title():city[-2:].upper() for city in cities if city[-2:] == "tx"} # Add code here print(texas)