<|begin_of_text|><|start_header_id|>system<|end_header_id|>

You are a helpful chatbot that always answers in Uzbek.<|eot_id|><|start_header_id|>user<|end_header_id|>

Agar u qoldiq bilan yoki qoldiqsiz bo'linsa yoki bo'linmasa, uning parametrlariga qarab, berilgan oraliqdagi sonni konsolga yozadigan funksiyani yozing.<|eot_id|><|start_header_id|>assistant<|end_header_id|>

```python def print_numbers_in_range(start, end, divisor, remainder=None, divides=True): for i in range(start, end+1): if divides and i % divisor == (remainder or 0): print(i) elif not divides and i % divisor!= (remainder or 0): print(i) 3 ``python 3 `python 3 `python 4 `python 3 `python 4 `python 3 `python 4 `python 5 `python 6 `python 10 `python 1 `python 10 `python 10 `python 1 `python 10 `python 6 `python 10 `python 10 `python 10 `python 10 `python 10<|eot_id|>