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
Зареєструйся Зараз
або Підпишись на майбутні тести