# TOPIC

Nao estou entendendo o porque de WA 10%

#### Felipe César L. Machado ( ☕ 🌠 ) asked 2 years ago

Question solved. Code removed.

This topic was solved and cannot recieve new replies.

• #### Ayrton Andrade replied 2 years ago

O meu também está dando WA 10%

```while True:

try:

n = int(input())

m = n * 1

lista = []
alunos = []

while n != 0:

n -= 1

tamanho = m * 1

while m != 0:

soma = 0
calculo = lista[indice-1]
valorFinal = int(calculo[1])

if caracter == "+":

soma = int(calculo[0][0]) + int(calculo[0][2])

elif caracter == "-":

soma = int(calculo[0][0]) - int(calculo[0][2])

elif caracter == "*":

soma = int(calculo[0][0]) * int(calculo[0][2])

if caracter == "I":

soma1 = int(calculo[0][0]) + int(calculo[0][2])
soma2 = int(calculo[0][0]) - int(calculo[0][2])
soma3 = int(calculo[0][0]) * int(calculo[0][2])

if soma1 == valorFinal or soma2 == valorFinal or soma3 == valorFinal:

elif soma != valorFinal:

m -= 1

if tamanho == len(alunos):

print("None Shall Pass!")

elif len(alunos) == 0:

print("You Shall All Pass!")

else:

alunos.sort()
saida = ""

for i in alunos:

if i != alunos[-1]:

saida += i + " "

else:

saida += i

print(saida)

except:

break```