Is it possible to limit the size of list in python.
I want to make list of 5 elements. How can I achieve this thing in python. And one more thing can we declare list to store elements of same type as in c, C++ we can declare an
array which can have 5 elements of type int.
How can I achieve this kind of behavior?