I need to analyze a list in python. every object of the list can be an int or a list, and I need to check if all of them are equal(int, sum of lists). I don't understand how to do it without using slicing to the list. thanks!!
If I could use slicing, I jumped every time one object forward till the end of the list or till stop criteria.