# # Python Kısıtlanmış Kümeler

Python koleksiyonlar (diziler) altında yer alan **küme (set)** veri tipimizi bir önceki derste anlatmıştık. **Kısıtlanmış küme (frozenset)** ise küme değişkeniyle neredeyse birebir aynıdır. Tek farkı eleman ekleme, çıkarma, küme temizleme gibi fonksiyonlar yoktur.

```python
kume = frozenset()

kume = frozenset(("Ankara","İstanbul","Kayseri"))
```

Oluşturduğumuz `küme` değişkenlerinin tipini kontrol edelim.

```python
print(type(kume)) # <class 'frozenset'>
```

Kısıtlanmış kümelerde kullanabileceğiniz fonksiyonlar şunlardır. İlgili fonksiyonların nasıl kullanılacağını bir önceki dersten görebilirsiniz;&#x20;

* copy()
* difference()
* intersection()
* isdisjoint()
* issubset()
* issuperset()
* symmetric\_difference()
* union()


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://derslik.kerteriz.net/python-dersleri/temel-dersler/python-diziler/python-kisitlanmis-kumeler.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
