cont = 0
seq = []
max = 10
for x in seq:
if x == max:
cont = cont + 1
print(cont)
#https://pt.stackoverflow.com/q/190997/101
Y29udCA9IDAKc2VxID0gW10KbWF4ID0gMTAKZm9yIHggaW4gc2VxOgogICAgaWYgeCA9PSBtYXg6CiAgICAgICAgY29udCA9IGNvbnQgKyAxCnByaW50KGNvbnQpCgojaHR0cHM6Ly9wdC5zdGFja292ZXJmbG93LmNvbS9xLzE5MDk5Ny8xMDE=