From 0c68fb64434cc18a28a2dd93acf3d455b797b6f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mert=20G=C3=B6r?= Date: Tue, 30 May 2023 16:52:41 +0300 Subject: [PATCH] scope 6 --- python-temel/scope.6.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 python-temel/scope.6.py diff --git a/python-temel/scope.6.py b/python-temel/scope.6.py new file mode 100644 index 0000000..6a83129 --- /dev/null +++ b/python-temel/scope.6.py @@ -0,0 +1,8 @@ +def foo(): + x = [1, 2, 3, 4, 5] + for i in x: + print(i) + print(i) # geçerli + +foo() +