リストのリストにPythonで同じサイズのリストがあるかどうかを検証する必要があります
myList1 = [ [1,1] , [1,1]] // This should pass. It has two lists.. both of length 2
myList2 = [ [1,1,1] , [1,1,1], [1,1,1]] // This should pass, It has three lists.. all of length 3
myList3 = [ [1,1] , [1,1], [1,1]] // This should pass, It has three lists.. all of length 2
myList4 = [ [1,1,] , [1,1,1], [1,1,1]] // This should FAIL. It has three list.. one of which is different that the other
リストを反復処理し、各サブリストのサイズを確認するループを作成できます。結果を達成するためのよりpythonicな方法はありますか。