Q:

How to make a new list from a list which is 3/4th the size of the original one in python?

Ex. I have a list
LIST=[1,2,3,3,4,4,5,9]

Now, I want to create a list which is 3/4th of this list
[1,2,3,3,4,4]

A:

LIST[:int(len(LIST) * 0.75)]

Hope this helps. Good luck.

