list3=[10,3.14,"car",True,3+5j]
print("Heterogeneous List= ",list3)
Note: Need to be arranged in compiler after copied
OutPut:
Heterogeneous List= [10, 3.14, 'car', True, (3+5j)]
list3=[10,3.14,"car",True,3+5j]
print("Heterogeneous List= ",list3)