0

Can you help me?

I can't find the error in my code

15th Aug 2022, 6:38 PM
Miguel Grissolle
Miguel Grissolle - avatar
3 Respostas
+ 1
What is the task for your code.. ? But code Idenation errors.. Save code and share link. That's helps "how you adding identation, for dubug. Else part should be idented according to if identation. And also next if-else should be idented so it belong to loop.. currently it's out side loop.
15th Aug 2022, 6:42 PM
Jayakrishna 🇮🇳
+ 1
Thank you. I'll try to upload the link. Haven't done it before
15th Aug 2022, 6:51 PM
Miguel Grissolle
Miguel Grissolle - avatar
0
words=list(input()) backup=[] repetidos=[] for n in words: if n not in backup: backup.append(n) else: repetidos.append(n) if n in repetidos: print("false") else: print("true")
15th Aug 2022, 6:38 PM
Miguel Grissolle
Miguel Grissolle - avatar