Question : can list hold different data types in python
Answered by : harit-rai
#lists can hold diffrent types of datatypes at a single time
list_example = ["list",4,True,7.0]
print(list_example)
Source : | Last Update : Thu, 30 Dec 21
Answered by : harit-rai
#lists can hold diffrent types of datatypes at a single time
list_example = ["list",4,True,7.0]
print(list_example)
Source : | Last Update : Thu, 30 Dec 21