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
Зарегистрируйся сейчас
или Подпишись на будущие тесты