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
commit 415d8e62f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -380,7 +380,7 @@ else: # Необязательное выражение. Должно след
# Объект, который возвратила функция range(), итерируемый. # Объект, который возвратила функция range(), итерируемый.
filled_dict = {"one": 1, "two": 2, "three": 3} filled_dict = {"one": 1, "two": 2, "three": 3}
our_iterable = filled_dict.keys() 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: for i in our_iterable: