diff --git a/python-temel/sozluk.iclemleri.2.py b/python-temel/sozluk.iclemleri.2.py new file mode 100644 index 0000000..2d95e23 --- /dev/null +++ b/python-temel/sozluk.iclemleri.2.py @@ -0,0 +1,5 @@ +d = {} +for i in [1, 2, 3, 4]: + d[i] = str(i) + +print(d) diff --git a/python-temel/sozluk.iclemleri.py b/python-temel/sozluk.iclemleri.py new file mode 100644 index 0000000..bb43f84 --- /dev/null +++ b/python-temel/sozluk.iclemleri.py @@ -0,0 +1,2 @@ +d = {i: str(i) for i in [1, 2, 3, 4, 5] } +print(d)