How is following construction called in Python? a = [n for n in range(100)]
Explanation
Provided code is an example of list comprehension. List comprehension provides a concise way of creating new list from another iterable

Слідкуй за CodeGalaxy

Мобільний додаток Beta

Get it on Google Play
Зворотній Зв’язок
Продовжуйте вивчати
тести з Python
Cosmo
Зареєструйся Зараз
або Підпишись на майбутні тести