1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-20 05:21:26 +02:00

Merge pull request #3996 from CH1979/fix_error_in_output_description

[python/ru] Fix error in output description
This commit is contained in:
Max Schumacher
2020-08-16 12:28:54 +02:00
committed by GitHub

View File

@@ -380,7 +380,7 @@ else: # Необязательное выражение. Должно след
# Объект, который возвратила функция range(), итерируемый.
filled_dict = {"one": 1, "two": 2, "three": 3}
our_iterable = filled_dict.keys()
print(our_iterable) #=> range(1,10). Это объект, реализующий интерфейс iterable
print(our_iterable) #=> dict_keys(['one', 'two', 'three']). Это объект, реализующий интерфейс iterable
# Мы можем проходить по нему циклом.
for i in our_iterable: