From 5cc9c289908c7e42c1e929bd240c4b4ea0a64b3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mert=20G=C3=B6r?= Date: Sun, 11 Jun 2023 14:38:59 +0300 Subject: [PATCH] =?UTF-8?q?i=C3=A7lemler=20names?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- python-temel/iclemler.names.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 python-temel/iclemler.names.py diff --git a/python-temel/iclemler.names.py b/python-temel/iclemler.names.py new file mode 100644 index 0000000..59a803a --- /dev/null +++ b/python-temel/iclemler.names.py @@ -0,0 +1,3 @@ +names = ['ali', 'veli', 'selami', 'ayşe', 'fatma'] +a = [name for name in names if 'a' in name] +print(a)