TOPIC

RUN TIME ERRO

jacferreira asked 5 years ago

Amigos, estou obtendo RUN TIME ERRO como resposta a submissão do código abaixo. Realmente não estou conseguindo encontrar qual seria o problema.

n = int(input())

nn=[]

nnn=[]

for i in range(n):

nn.append(input())

if nnn.count(nn[i])==0:

nnn.append(nn[i])

i=i+1

nnn.sort()

for i in nnn:

x=int(nn.count(i))

print("%d aparece %d vez(es)"%(i,x))

This topic has not been answered yet. Be the first!

Remember not post solutions. Your post may be reviewed by our moderators.