print a number from a list that contains more than one number in an index : from the below list I want to get ONLY the number 8 how do I do that?
listofnumbers2 = [[1,2],[3,4],[5,6],[7,[8,9]]]

i have tried print listofnumbers2[3][1] but it returns [8,9]
im trying to do this in python