Can List Hold Different Data Types In Python

[Solved] Can List Hold Different Data Types In Python | Lisp - Code Explorer | yomemimo.com
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

Answers related to can list hold different data types in python

Code Explorer Popular Question For Lisp