List in Python can hold elements of same type only. True or False?
Explanation
This is not true. Python’s List can hold elements of different types inside of it.
For example, my_list = [1, 2, 3.14, “Some string”, False]

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Продолжайте изучать
тесты по Python
Cosmo
Зарегистрируйся сейчас
или Подпишись на будущие тесты