Since Python is dynamically typed, we can create mixed lists also:
L3 = [ True, 3, "6", 9.0 ]
[ type(ele) for ele in L3 ]
> [ bool, int, str, float ]
But all this flexibility does not come for free.
So, if you want your program run faster and be more optimized, use fucking statically typed AND COMPILED languages, not python