From 1eae0590711e292499d835e7cb5bd1da0b18940c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mert=20G=C3=B6r?= Date: Sun, 11 Jun 2023 14:56:21 +0300 Subject: [PATCH] cities upper --- python-temel/iclemler.cities.upper.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 python-temel/iclemler.cities.upper.py diff --git a/python-temel/iclemler.cities.upper.py b/python-temel/iclemler.cities.upper.py new file mode 100644 index 0000000..c3a39be --- /dev/null +++ b/python-temel/iclemler.cities.upper.py @@ -0,0 +1,3 @@ +cities = ['ankara', 'izmir', 'eskişehir', 'muğla', 'kastamonu'] +upperCities = [city.upper() for city in cities] +print(upperCities)