python-CSD-kursu/python-temel/sozluk.iclemleri.2.py

6 lines
58 B
Python

d = {}
for i in [1, 2, 3, 4]:
d[i] = str(i)
print(d)