3
I want to know how many numbers is more than 7 on the 'a list'.
Note: I’m using slicing because in the case I’m putting in practice, do not know the amount of items you have in the list.
a=[5, 10, 6, 8]
qmaior= a.count([:-1])>7
When executed, syntax error.