Hello.
The syntax used by the master in his code is incorrect based on the language patterns, and Python, a block is always delimited by two '': colon followed by a:
user preference tab wrapping with 4 pre-defined spaces in the IDE
The most accessible syntax based on your question would be as follows.
cont = 0
seq = [0 , 5, 6, 7, 8, 9, 6, 10, 10, 25]
max = 10
for x in seq:
if x == max:
cont = cont+1
op = int(input("DESEJA VERIFICAR O RESULTADO? DIGITE 1 PARA VISUALIZAR OU OUTRO VALOR PARA SAIR " ))
if op == 1:
print("FORAM ENCONTRADOS %i valores" %(cont))
else:
print()
Note that I modified the original program and applied the display option, so the user could choose to see how many values are between the conformities or exit the program.